diff --git a/routes/web.php b/routes/web.php index e1fb6f4..c9523ad 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,6 +1,7 @@ url()); })->unique()->each(function ($sitePrefix) { Route::group(['prefix' => $sitePrefix], static function () { - Route::get(config('pecotamic.sitemap.url'), 'Pecotamic\\Sitemap\\Http\\Controllers\\SitemapController@show'); + Route::get(config('pecotamic.sitemap.url'), [SitemapController::class, 'show']); }); });