diff --git a/src/Providers/CoasterRoutesProvider.php b/src/Providers/CoasterRoutesProvider.php index 2a696aa..12cd6fe 100644 --- a/src/Providers/CoasterRoutesProvider.php +++ b/src/Providers/CoasterRoutesProvider.php @@ -60,7 +60,7 @@ protected function mapWebRoutes() ->namespace($namespace) ->group($routesDir . '/admin.php'); - Route::middleware(['web']) + Route::middleware(['web', 'coaster.cms']) ->namespace($namespace) ->group($routesDir . '/cms.php'); }