protected function registerCustomRoutes()
    {
        if (file_exists($file = $this->getBootstrapPath('routes.php'))) {
            $this->registerRoutes(function (Router $route) use ($file) {
                require $file;
            });
        }
    }
protected function registerCustomRoutes()
    {
        if (file_exists($file = $this->getBootstrapPath('routes.php'))) {
            $this->registerRoutes(function (Router $route) use ($file) {
                require $file;
            });
        }
    }
protected function registerCustomRoutes ( ) { if ( file_exists ( $ file = $ this -> getBootstrapPath ( 'routes.php' ) ) ) { $ this -> registerRoutes ( function ( Router $ route ) use ( $ file ) { require $ file ; } ) ; } }
Register Custom Routes From Users.
Register Custom Routes From Users .