diff --git a/src/Roumen/Sitemap/SitemapServiceProvider.php b/src/Roumen/Sitemap/SitemapServiceProvider.php index 46de86c..aa1ccbf 100644 --- a/src/Roumen/Sitemap/SitemapServiceProvider.php +++ b/src/Roumen/Sitemap/SitemapServiceProvider.php @@ -1,6 +1,7 @@ app->alias('sitemap','Roumen\Sitemap\Sitemap'); + $this->app->alias('sitemap', Sitemap::class); } /** @@ -61,6 +62,6 @@ public function register() */ public function provides() { - return ['sitemap']; + return ['sitemap', Sitemap::class]; } }