forked from Archives/Athou_commafeed
delete users
This commit is contained in:
@@ -292,4 +292,9 @@ module.controller('ManageUserCtrl', function($scope, $state, $stateParams,
|
||||
});
|
||||
});
|
||||
};
|
||||
$scope.delete = function() {
|
||||
AdminUsersService.delete({id: $scope.user.id}, function() {
|
||||
$state.transitionTo('admin.userlist');
|
||||
});
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user