Merge pull request #162 from glyptodon/fix-group-redirect

GUAC-1180: Update group management controller to use new settings URLs.
This commit is contained in:
James Muehlner
2015-04-25 12:56:25 -07:00

View File

@@ -171,7 +171,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
* Cancels all pending edits, returning to the management page.
*/
$scope.cancel = function cancel() {
$location.path('/manage/modules/connections/');
$location.path('/settings/connections');
};
/**
@@ -183,7 +183,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
// Save the connection
connectionGroupService.saveConnectionGroup($scope.connectionGroup)
.success(function savedConnectionGroup() {
$location.path('/manage/modules/connections/');
$location.path('/settings/connections');
})
// Notify of any errors
@@ -233,7 +233,7 @@ angular.module('manage').controller('manageConnectionGroupController', ['$scope'
// Delete the connection group
connectionGroupService.deleteConnectionGroup($scope.connectionGroup)
.success(function deletedConnectionGroup() {
$location.path('/manage/modules/connections/');
$location.path('/settings/connections');
})
// Notify of any errors