mapWebRoutes(); } /** * Define the "web" routes for the application. * These routes all receive session state, CSRF protection, etc. * @return void */ protected function mapWebRoutes() { Route::namespace($this->namespace) ->middleware('web') ->group(base_path('routes/web.php')); } }