mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
delete users
This commit is contained in:
@@ -148,6 +148,12 @@ module.factory('AdminUsersService', function($resource) {
|
||||
params : {
|
||||
_method : 'save'
|
||||
}
|
||||
},
|
||||
delete : {
|
||||
method : 'DELETE',
|
||||
params : {
|
||||
_method : 'delete'
|
||||
}
|
||||
}
|
||||
};
|
||||
var res = $resource('rest/admin/users/:_method', {}, actions);
|
||||
|
||||
Reference in New Issue
Block a user