Skip to content

Commit

Permalink
fix call to undefined method resourcePath in lumen 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xcaptain committed Oct 6, 2016
1 parent 3138e40 commit cfa9e2a
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->resourcePath().'/views/vendor/'.$namespace)) {
if (is_dir($appPath = $this->app->basePath().'/resources/views/vendor/'.$namespace)) {
$this->app['view']->addNamespace($namespace, $appPath);
}

Expand Down

0 comments on commit cfa9e2a

Please sign in to comment.