public function mapWebRoutes(Router $router)
    {
        $router->group(
            [
                'prefix' => $this->getRoutePrefix(),
                'as'     => $this->getRouteNamePrefix(),
            ],
            function (Router $router) {

                $controller = $this->getModelWebController();

                $router->post('references', [
                    'as'   => 'references',
                    'uses' => $controller . '@references',
                ]);
            }
        );
    }
public function mapWebRoutes(Router $router)
    {
        $router->group(
            [
                'prefix' => $this->getRoutePrefix(),
                'as'     => $this->getRouteNamePrefix(),
            ],
            function (Router $router) {

                $controller = $this->getModelWebController();

                $router->post('references', [
                    'as'   => 'references',
                    'uses' => $controller . '@references',
                ]);
            }
        );
    }
public function mapWebRoutes ( Router $ router ) { $ router -> group ( [ 'prefix' => $ this -> getRoutePrefix ( ) , 'as' => $ this -> getRouteNamePrefix ( ) , ] , function ( Router $ router ) { $ controller = $ this -> getModelWebController ( ) ; $ router -> post ( 'references' , [ 'as' => 'references' , 'uses' => $ controller . '@references' , ] ) ; } ) ; }
Generates web routes for the module given a contextual router instance.

@param Router $router
Generates web routes for the module given a contextual router instance .