mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 03:25:51 +02:00
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
This commit is contained in:
@@ -1088,9 +1088,9 @@ class AdminController
|
||||
if ($obj->parent() != $topParent) {
|
||||
$baseRoute .= $obj->parent()->route();
|
||||
}
|
||||
$route = isset($baseRoute) ? $baseRoute : null;
|
||||
}
|
||||
}
|
||||
$route = isset($baseRoute) ? $baseRoute : null;
|
||||
}
|
||||
|
||||
$parent = $route && $route != '/' ? $pages->dispatch($route, true) : $pages->root();
|
||||
|
||||
Reference in New Issue
Block a user