Semaphore/public/js/controllers/user/user.js
Matej Kramny 0f180756ab Auth page
- Restructuring & co
2016-03-18 22:03:28 +00:00

10 lines
215 B
JavaScript

define(function () {
app.registerController('UserCtrl', ['$scope', '$state', function($scope, $state) {
$scope.delete = function () {
$scope.user.delete();
$state.transitionTo('users.list');
}
}]);
});