From: Vincent Vanwaelscappel Date: Fri, 7 Jun 2019 13:55:53 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=230224332ceaf175da6f181286ef06c98ae37de7;p=cubist_cms-back.git #2783 --- diff --git a/src/CubistBackpackServiceProvider.php b/src/CubistBackpackServiceProvider.php index 6b6e222..b3b1a43 100644 --- a/src/CubistBackpackServiceProvider.php +++ b/src/CubistBackpackServiceProvider.php @@ -29,7 +29,7 @@ class CubistBackpackServiceProvider extends ServiceProvider foreach (glob(__DIR__ . '/routes/cubist/backpack/*.php') as $filename) { $this->loadRoutesFrom($filename); } - $this->loadViewsFrom(__FILE__ . '/resources/views', self::NAMESPACE); + $this->loadViewsFrom(realpath(__DIR__ . '/resources/views'), self::NAMESPACE); }