mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-01-06 15:43:01 +01:00
Handle redirect for new group creation
This commit is contained in:
@@ -1017,6 +1017,11 @@ class AdminController
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($this->view == 'groups') {
|
||||
$this->setRedirect("{$this->view}/{$this->post['groupname']}");
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($this->view != 'pages') {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user