Fixed route and blueprints locator stream.

This commit is contained in:
Pereira Ricardo
2015-01-11 18:33:45 +01:00
parent 5f1320c8a6
commit 1fbff2b767
3 changed files with 4 additions and 4 deletions

View File

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