Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop

This commit is contained in:
Andy Miller
2016-01-09 15:30:50 -07:00

View File

@@ -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();