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