From a7f9ce52f27955ce6c98cb6a64e27ea0b7fb5237 Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Sat, 7 Dec 2024 03:46:47 -0500 Subject: [PATCH] Remove redundant backend route (#1258) Co-authored-by: Ben Thomson --- modules/backend/routes.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/backend/routes.php b/modules/backend/routes.php index 7ca92974df..f4e670054d 100644 --- a/modules/backend/routes.php +++ b/modules/backend/routes.php @@ -20,7 +20,7 @@ Event::fire('backend.beforeRoute'); /* - * Other pages + * Route everything to `Backend\Classes\BackendController`, which itself acts as a router for the Backend. */ Route::group([ 'middleware' => ['web'], @@ -29,11 +29,6 @@ Route::any('{slug?}', 'Backend\Classes\BackendController@run')->where('slug', '(.*)?'); }); - /* - * Entry point - */ - Route::any(Config::get('cms.backendUri', 'backend'), 'Backend\Classes\BackendController@run')->middleware('web'); - /** * @event backend.route * Fires after backend routes have been added