From bc339e927bbfeda68e3e3e7716b21e6334883e62 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 25 Nov 2014 16:09:03 +0100 Subject: [PATCH] Roles: Fix redirect URL --- application/controllers/RolesController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/RolesController.php b/application/controllers/RolesController.php index 71cd53a19..90163812e 100644 --- a/application/controllers/RolesController.php +++ b/application/controllers/RolesController.php @@ -56,7 +56,7 @@ class RolesController extends ActionController $role ->setSubmitLabel($this->translate('Create Role')) ->setIniConfig(Config::app('roles', true)) - ->setRedirectUrl('permissions') + ->setRedirectUrl('roles') ->handleRequest(); $this->view->form = $role; } @@ -99,7 +99,7 @@ class RolesController extends ActionController } return false; }) - ->setRedirectUrl('permissions') + ->setRedirectUrl('roles') ->handleRequest(); $this->view->name = $name; $this->view->form = $role; @@ -142,7 +142,7 @@ class RolesController extends ActionController )); $confirmation ->setSubmitLabel($this->translate('Remove Role')) - ->setRedirectUrl('permissions') + ->setRedirectUrl('roles') ->handleRequest(); $this->view->name = $name; $this->view->form = $confirmation;