From d814237747294f9cd93a24a8c19b43d99ed0e5a8 Mon Sep 17 00:00:00 2001 From: Werner Freytag Date: Tue, 6 Jun 2023 14:48:26 +0200 Subject: [PATCH] change route action --- routes/web.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']); }); });