make sure the user owns the modified data

This commit is contained in:
Athou
2013-04-10 22:07:44 +02:00
parent b3edfb955f
commit 013922b96d
4 changed files with 34 additions and 5 deletions

View File

@@ -149,6 +149,8 @@ module.directive('category', function($compile) {
if (result == 'ok') {
SubscriptionService.deleteCategory({
id : category.id
}, function() {
SubscriptionService.init();
});
}
});