mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 11:26:04 +01:00
Fix #843 use rawRoute for parent too when saving
This commit is contained in:
@@ -2029,7 +2029,7 @@ class AdminController
|
||||
$admin_route = $this->admin->base;
|
||||
|
||||
//Handle system.home.hide_in_urls
|
||||
$route = $obj->route();
|
||||
$route = $obj->rawRoute();
|
||||
$hide_home_route = $config->get('system.home.hide_in_urls', false);
|
||||
if ($hide_home_route) {
|
||||
$home_route = $config->get('system.home.alias');
|
||||
|
||||
Reference in New Issue
Block a user