From fca52009ff31e75cb7ad7882f127f376ec1a9ec9 Mon Sep 17 00:00:00 2001 From: Peter Fox Date: Mon, 12 Sep 2016 18:13:12 +0100 Subject: [PATCH] Updates Service Provider class to use resource path over base path (#15400) --- src/Illuminate/Support/ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/ServiceProvider.php b/src/Illuminate/Support/ServiceProvider.php index 1085ac0c0ec0..0403afb90491 100755 --- a/src/Illuminate/Support/ServiceProvider.php +++ b/src/Illuminate/Support/ServiceProvider.php @@ -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); }