diff --git a/src/Directives.php b/src/Directives.php index 1c1f51a..5243279 100644 --- a/src/Directives.php +++ b/src/Directives.php @@ -83,7 +83,7 @@ protected function blade() } if (function_exists('Roots\app')) { - return \Roots\app()['view']->getEngineResolver()->resolve('blade')->getCompiler(); + return \Roots\app('blade.compiler'); } } }