src/Routing/RouteServiceProvider.php
/**
     * Define the "web" routes for the application.
     *
     * These routes all receive session state, CSRF protection, etc.
     *
     * @return void
     */
Define the "web" routes for the application.
These routes all receive session state, CSRF protection, etc.

@return void
Define the " web " routes for the application . These routes all receive session state CSRF protection etc . @return void
protected function mapWebRoutes()
    {
        Route::group([
            'middleware' => ['soda.web'],
            'namespace'  => $this->namespace,
        ], function ($router) {
            require __DIR__.'/../../routes/web.php';
        });
        $this->app['router']->getRoutes()->refreshNameLookups();
        $this->app['events']->fire('soda.routing', $this->app->router);
    }
protected function mapWebRoutes ( ) { Route :: group ( [ 'middleware' => [ 'soda.web' ] , 'namespace' => $ this -> namespace , ] , function ( $ router ) { require __DIR__ . '/../../routes/web.php' ; } ) ; $ this -> app [ 'router' ] -> getRoutes ( ) -> refreshNameLookups ( ) ; $ this -> app [ 'events' ] -> fire ( 'soda.routing' , $ this -> app -> router ) ; }
Define the "web" routes for the application.
Define the " web " routes for the application .