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

@@ -348,15 +348,15 @@
$scope.selectedTab = hash || DEFAULT_TAB;
});
$scope.showSharePermissionsModal = function() {
$scope.showManagePermissionsModal = function() {
// Create scope for share permissions dialog and pass api path to it
var scope = $scope.$new();
$scope.apiAccess = 'api/queries/' + $routeParams.queryId + '/acl';
$modal.open({
scope: scope,
templateUrl: '/views/dialogs/share_permissions.html',
controller: 'SharePermissionsCtrl'
templateUrl: '/views/dialogs/manage_permissions.html',
controller: 'ManagePermissionsCtrl'
})
};
};