Skip to content

Commit

Permalink
Roles: Fix redirect URL
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Nov 25, 2014
1 parent d226126 commit bc339e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/controllers/RolesController.php
Expand Up @@ -56,7 +56,7 @@ public function newAction()
$role
->setSubmitLabel($this->translate('Create Role'))
->setIniConfig(Config::app('roles', true))
->setRedirectUrl('permissions')
->setRedirectUrl('roles')
->handleRequest();
$this->view->form = $role;
}
Expand Down Expand Up @@ -99,7 +99,7 @@ public function updateAction()
}
return false;
})
->setRedirectUrl('permissions')
->setRedirectUrl('roles')
->handleRequest();
$this->view->name = $name;
$this->view->form = $role;
Expand Down Expand Up @@ -142,7 +142,7 @@ public function removeAction()
));
$confirmation
->setSubmitLabel($this->translate('Remove Role'))
->setRedirectUrl('permissions')
->setRedirectUrl('roles')
->handleRequest();
$this->view->name = $name;
$this->view->form = $confirmation;
Expand Down

0 comments on commit bc339e9

Please sign in to comment.