src/Providers/RouteServiceProvider.php
protected function buildHomeRoute(Router $router)
    {
        $action = $this->normalizeRouteAction($this->getDefaultHomeAction());

        // Guarantee that the home route has the expected name
        $router->get('/', array_set($action, 'as', NamedRoute::HOME));
    }
protected function buildHomeRoute(Router $router)
    {
        $action = $this->normalizeRouteAction($this->getDefaultHomeAction());

        // Guarantee that the home route has the expected name
        $router->get('/', array_set($action, 'as', NamedRoute::HOME));
    }
protected function buildHomeRoute ( Router $ router ) { $ action = $ this -> normalizeRouteAction ( $ this -> getDefaultHomeAction ( ) ) ; // Guarantee that the home route has the expected name $ router -> get ( '/' , array_set ( $ action , 'as' , NamedRoute :: HOME ) ) ; }
Builds up route for the home page of the CMS.

@param Router $router
Builds up route for the home page of the CMS .