mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 06:07:02 +02:00
Fix blueprints to be loaded by using blueprints:// stream (#38)
This commit is contained in:
@@ -240,7 +240,7 @@ class Admin
|
||||
public function blueprints($type)
|
||||
{
|
||||
if ($this->blueprints === null) {
|
||||
$this->blueprints = new Data\Blueprints($this->grav['locator']->findResource('blueprints://'));
|
||||
$this->blueprints = new Data\Blueprints('blueprints://');
|
||||
}
|
||||
|
||||
return $this->blueprints->get($type);
|
||||
|
||||
Reference in New Issue
Block a user