mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-23 00:31:03 +01:00
12 lines
229 B
JavaScript
12 lines
229 B
JavaScript
define([
|
|
'app'
|
|
], function(app) {
|
|
app.registerController('UserCtrl', ['$scope', '$state', function($scope, $state) {
|
|
$scope.delete = function () {
|
|
$scope.user.delete();
|
|
|
|
$state.transitionTo('users.list');
|
|
}
|
|
}]);
|
|
});
|