mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-22 16:20:44 +01:00
11 lines
242 B
JavaScript
11 lines
242 B
JavaScript
|
define([
|
||
|
'app'
|
||
|
], function(app) {
|
||
|
app.registerController('IdentityCtrl', ['$scope', '$state', function($scope, $state) {
|
||
|
$scope.delete = function () {
|
||
|
$scope.identity.delete();
|
||
|
|
||
|
$state.transitionTo('credentials.list');
|
||
|
}
|
||
|
}]);
|
||
|
});
|