We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ece664 commit c4cc20cCopy full SHA for c4cc20c
src/Providers/SharedDataServiceProvider.php
@@ -38,7 +38,7 @@ public function register()
38
});
39
40
$this->app->extend('blade.compiler', function (BladeCompiler $bladeCompiler) {
41
- $bladeCompiler->directive($this->app['config']['shared-data.blade_directive.name'], function () {
+ $bladeCompiler->directive($this->app['config']['shared-data.blade_directive.name'] ?? 'shared', function () {
42
return '<?php echo app(\\'.SharedData::class.'::class)->render(); ?>';
43
44
0 commit comments