Skip to content

Commit cfa9e2a

Browse files
committed
fix call to undefined method resourcePath in lumen 5.3
fix laravel#15708
1 parent 3138e40 commit cfa9e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function mergeConfigFrom($path, $key)
6868
*/
6969
protected function loadViewsFrom($path, $namespace)
7070
{
71-
if (is_dir($appPath = $this->app->resourcePath().'/views/vendor/'.$namespace)) {
71+
if (is_dir($appPath = $this->app->basePath().'/resources/views/vendor/'.$namespace)) {
7272
$this->app['view']->addNamespace($namespace, $appPath);
7373
}
7474

0 commit comments

Comments
 (0)