Skip to content

Commit

Permalink
Use a better method to get the Sage 10 compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed May 3, 2019
1 parent c991437 commit a2a397f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Directives.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
}
Expand Down

0 comments on commit a2a397f

Please sign in to comment.