mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-17 02:31:02 +01:00
redirect to rawroute
This commit is contained in:
@@ -893,7 +893,7 @@ class AdminController
|
|||||||
if (method_exists($obj, 'unsetRouteSlug')) {
|
if (method_exists($obj, 'unsetRouteSlug')) {
|
||||||
$obj->unsetRouteSlug();
|
$obj->unsetRouteSlug();
|
||||||
}
|
}
|
||||||
$this->setRedirect($this->view . $obj->route());
|
$this->setRedirect($this->view . $obj->rawRoute());
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user