mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 19:06:16 +01:00
Fixed route and blueprints locator stream.
This commit is contained in:
@@ -198,7 +198,7 @@ class Admin
|
||||
public function blueprints($type)
|
||||
{
|
||||
if ($this->blueprints === null) {
|
||||
$this->blueprints = new Data\Blueprints(ROOT_DIR . 'system/blueprints/');
|
||||
$this->blueprints = new Data\Blueprints($this->grav['locator']->findResource('blueprints://'));
|
||||
}
|
||||
return $this->blueprints->get($type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user