Security: Fix redicrect URL
This commit is contained in:
parent
0862602fcf
commit
92b2c5061d
|
@ -56,7 +56,7 @@ class PermissionsController extends ActionController
|
||||||
$role
|
$role
|
||||||
->setSubmitLabel($this->translate('Create Role'))
|
->setSubmitLabel($this->translate('Create Role'))
|
||||||
->setIniConfig(Config::app('roles', true))
|
->setIniConfig(Config::app('roles', true))
|
||||||
->setRedirectUrl('security')
|
->setRedirectUrl('permissions')
|
||||||
->handleRequest();
|
->handleRequest();
|
||||||
$this->view->form = $role;
|
$this->view->form = $role;
|
||||||
}
|
}
|
||||||
|
@ -99,7 +99,7 @@ class PermissionsController extends ActionController
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
->setRedirectUrl('security')
|
->setRedirectUrl('permissions')
|
||||||
->handleRequest();
|
->handleRequest();
|
||||||
$this->view->name = $name;
|
$this->view->name = $name;
|
||||||
$this->view->form = $role;
|
$this->view->form = $role;
|
||||||
|
@ -142,7 +142,7 @@ class PermissionsController extends ActionController
|
||||||
));
|
));
|
||||||
$confirmation
|
$confirmation
|
||||||
->setSubmitLabel($this->translate('Remove Role'))
|
->setSubmitLabel($this->translate('Remove Role'))
|
||||||
->setRedirectUrl('security')
|
->setRedirectUrl('permissions')
|
||||||
->handleRequest();
|
->handleRequest();
|
||||||
$this->view->name = $name;
|
$this->view->name = $name;
|
||||||
$this->view->form = $confirmation;
|
$this->view->form = $confirmation;
|
||||||
|
|
Loading…
Reference in New Issue