Update controller/view name

This commit is contained in:
Arik Fraimovich
2016-10-26 22:17:17 +03:00
parent 52b87efb73
commit fd9dc4b4e8
6 changed files with 10 additions and 10 deletions

View File

@@ -157,7 +157,7 @@
};
// Controller for modal window share_permissions, works for both query and dashboards, needs apiAccess set in scope
var SharePermissionsCtrl = function ($scope, $http, $modalInstance, User) {
var ManagePermissionsCtrl = function ($scope, $http, $modalInstance, User) {
$scope.grantees = [];
$scope.newGrantees = {};
@@ -227,5 +227,5 @@
.controller('IndexCtrl', ['$scope', 'Events', 'Dashboard', 'Query', IndexCtrl])
.controller('MainCtrl', ['$scope', '$location', 'Dashboard', MainCtrl])
.controller('QuerySearchCtrl', ['$scope', '$location', '$filter', 'Events', 'Query', QuerySearchCtrl])
.controller('SharePermissionsCtrl', ['$scope', '$http', '$modalInstance', 'User', SharePermissionsCtrl]);
.controller('ManagePermissionsCtrl', ['$scope', '$http', '$modalInstance', 'User', ManagePermissionsCtrl]);
})();