protected function registerDefaultRoutes()
    {
        $this->registerRoutes(function (Router $router) {
            (new ModelRouter($this->app, $router))->register($this->app['sleeping_owl']->getModels());

            if (file_exists($routesFile = __DIR__.'/../Http/routes.php')) {
                require $routesFile;
            }

            AliasBinder::registerRoutes($router);
        });
    }
protected function registerDefaultRoutes()
    {
        $this->registerRoutes(function (Router $router) {
            (new ModelRouter($this->app, $router))->register($this->app['sleeping_owl']->getModels());

            if (file_exists($routesFile = __DIR__.'/../Http/routes.php')) {
                require $routesFile;
            }

            AliasBinder::registerRoutes($router);
        });
    }
protected function registerDefaultRoutes ( ) { $ this -> registerRoutes ( function ( Router $ router ) { ( new ModelRouter ( $ this -> app , $ router ) ) -> register ( $ this -> app [ 'sleeping_owl' ] -> getModels ( ) ) ; if ( file_exists ( $ routesFile = __DIR__ . '/../Http/routes.php' ) ) { require $ routesFile ; } AliasBinder :: registerRoutes ( $ router ) ; } ) ; }
Register Default Admin Routes.
Register Default Admin Routes .