mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-05 04:46:03 +01:00
Merge branch 'develop' into feature/integrate-with-admin-pro
This commit is contained in:
@@ -509,6 +509,10 @@ class Admin
|
||||
$pages = $this->grav['pages'];
|
||||
|
||||
$latest = array();
|
||||
|
||||
if(is_null($pages->routes())){
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ($pages->routes() as $url => $path) {
|
||||
$page = $pages->dispatch($url, true);
|
||||
|
||||
Reference in New Issue
Block a user