mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 03:25:51 +02: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