Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #22 from julesjanssen/patch-1
Browse files Browse the repository at this point in the history
Update ViewComponentsServiceProvider.php
  • Loading branch information
freekmurze committed Mar 18, 2020
2 parents e8627c0 + cd44ee2 commit 74845f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ViewComponentsServiceProvider.php
Expand Up @@ -13,7 +13,7 @@ public function boot()
__DIR__.'/../config/view-components.php' => config_path('view-components.php'),
], 'config');

$this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
$this->callAfterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
$bladeCompiler->directive('render', $this->app->make(CompileRenderDirective::class));
});
}
Expand Down

0 comments on commit 74845f5

Please sign in to comment.