mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
Fix for #15 - requires grav update though.
This commit is contained in:
@@ -841,6 +841,7 @@ class AdminController
|
||||
|
||||
// Always redirect if a page route was changed, to refresh it
|
||||
if ($obj instanceof Page\Page) {
|
||||
$obj->unsetRoute();
|
||||
$this->setRedirect($this->view . $obj->route());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user