From 8030f977661a338188a7be925585043333904c50 Mon Sep 17 00:00:00 2001 From: Venelin Iliev Date: Mon, 30 Jan 2017 10:45:58 +0200 Subject: [PATCH] facade fix --- src/Facades/MetaTag.php | 2 +- src/MetaTagsServiceProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Facades/MetaTag.php b/src/Facades/MetaTag.php index f1e318f..69f83d0 100644 --- a/src/Facades/MetaTag.php +++ b/src/Facades/MetaTag.php @@ -13,6 +13,6 @@ class MetaTag extends Facade */ protected static function getFacadeAccessor() { - return 'MetaTag'; + return 'metatag'; } } diff --git a/src/MetaTagsServiceProvider.php b/src/MetaTagsServiceProvider.php index 32a6525..4556c31 100644 --- a/src/MetaTagsServiceProvider.php +++ b/src/MetaTagsServiceProvider.php @@ -32,7 +32,7 @@ public function boot() */ public function register() { - $this->app->singleton('meta-tag', function ($app) { + $this->app->singleton('metatag', function ($app) { return new MetaTag( $app['request'], $app['config']['meta-tags'],