public function registerRoutes(Router $router)
    {
        // We will need to throw an exception if a ModelAdmin manages a Model which conflicts with an internal flare endpoint
        // such as (create, edit, view, delete etc) 
        $router->group(['prefix' => $this->urlPrefix(), 'namespace' => get_called_class(), 'as' => $this->urlPrefix()], function ($router) {
            $this->registerSubRoutes();
            $this->registerController($this->getController());
        });
    }
public function registerRoutes(Router $router)
    {
        // We will need to throw an exception if a ModelAdmin manages a Model which conflicts with an internal flare endpoint
        // such as (create, edit, view, delete etc) 
        $router->group(['prefix' => $this->urlPrefix(), 'namespace' => get_called_class(), 'as' => $this->urlPrefix()], function ($router) {
            $this->registerSubRoutes();
            $this->registerController($this->getController());
        });
    }
public function registerRoutes ( Router $ router ) { // We will need to throw an exception if a ModelAdmin manages a Model which conflicts with an internal flare endpoint // such as (create, edit, view, delete etc)  $ router -> group ( [ 'prefix' => $ this -> urlPrefix ( ) , 'namespace' => get_called_class ( ) , 'as' => $ this -> urlPrefix ( ) ] , function ( $ router ) { $ this -> registerSubRoutes ( ) ; $ this -> registerController ( $ this -> getController ( ) ) ; } ) ; }
Register the routes for this Admin Section.

Default routes include, create:, read:, update:, delete:

Also attempts to load in ModelAdminController
based on the shortName of the class, for
overloading and adding additional routes

@param \Illuminate\Routing\Router $router
Register the routes for this Admin Section .