diff --git a/core/src/Providers/RoutingServiceProvider.php b/core/src/Providers/RoutingServiceProvider.php index d7d12048f3..1d52902481 100644 --- a/core/src/Providers/RoutingServiceProvider.php +++ b/core/src/Providers/RoutingServiceProvider.php @@ -23,9 +23,7 @@ public function register() $group->group(EVO_CORE_PATH . 'custom/routes.php'); } - $group->group(function() { - Route::fallbackToParser(); - }); + Route::fallbackToParser(); } if ($this->app->isBackend()) {