summaryrefslogtreecommitdiff
path: root/src/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Application.php')
-rw-r--r--src/Application.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Application.php b/src/Application.php
index 86397a2c..d12d3e31 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -106,8 +106,10 @@ class Application extends Container
$this->instance('path', $appPath);
$this->instance('path.config', $appPath . DIRECTORY_SEPARATOR . 'config');
- $this->instance('path.lang', $appPath . DIRECTORY_SEPARATOR . 'locale');
- $this->instance('path.views', $appPath . DIRECTORY_SEPARATOR . 'templates');
+ $this->instance('path.resources', $appPath . DIRECTORY_SEPARATOR . 'resources');
+ $this->instance('path.assets', $this->get('path.resources') . DIRECTORY_SEPARATOR . 'assets');
+ $this->instance('path.views', $this->get('path.resources') . DIRECTORY_SEPARATOR . 'views');
+ $this->instance('path.lang', $this->get('path.resources') . DIRECTORY_SEPARATOR . 'lang');
}
/**