Skip to content

Commit

Permalink
Updates Service Provider class to use resource path over base path (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox authored and taylorotwell committed Sep 12, 2016
1 parent f6fbb48 commit fca5200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function mergeConfigFrom($path, $key)
*/
protected function loadViewsFrom($path, $namespace)
{
if (is_dir($appPath = $this->app->basePath().'/resources/views/vendor/'.$namespace)) {
if (is_dir($appPath = $this->app->resourcePath().'/views/vendor/'.$namespace)) {
$this->app['view']->addNamespace($namespace, $appPath);
}

Expand Down

0 comments on commit fca5200

Please sign in to comment.