Skip to content

Commit

Permalink
Merge pull request #6 from BirdyUK/patch-1
Browse files Browse the repository at this point in the history
Added support for laravel 5.4
  • Loading branch information
Torann authored Mar 22, 2017
2 parents 0c8d393 + 10738b1 commit dd99623
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public function boot()
*/
public function register()
{
$this->app['metatag'] = $this->app->share(function ($app) {
// $this->app['metatag'] = $this->app->share(function ($app) { // Removed to support laravel 5.4
$this->app->singleton('metatag', function ($app) {
return new MetaTag(
$app['request'],
$app['config']['meta-tags'],
Expand Down

0 comments on commit dd99623

Please sign in to comment.