mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-05 04:46: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
|
// Always redirect if a page route was changed, to refresh it
|
||||||
if ($obj instanceof Page\Page) {
|
if ($obj instanceof Page\Page) {
|
||||||
|
$obj->unsetRoute();
|
||||||
$this->setRedirect($this->view . $obj->route());
|
$this->setRedirect($this->view . $obj->route());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user