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 0c8d393 commit 10738b1Copy full SHA for 10738b1
src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php
@@ -32,7 +32,8 @@ public function boot()
32
*/
33
public function register()
34
{
35
- $this->app['metatag'] = $this->app->share(function ($app) {
+ // $this->app['metatag'] = $this->app->share(function ($app) { // Removed to support laravel 5.4
36
+ $this->app->singleton('metatag', function ($app) {
37
return new MetaTag(
38
$app['request'],
39
$app['config']['meta-tags'],
0 commit comments