public function displayValidRoutesAction()
    {
        $this->di->views->add('default/error-routes', [
          'route'           => $this->di->request->getRoute(),
          'routes'          => $this->di->router->getAll(),
          'internalRoutes'  => $this->di->router->getInternal(),
          'controllers'     => $this->di->getControllers(),
        ]);
    }
public function displayValidRoutesAction()
    {
        $this->di->views->add('default/error-routes', [
          'route'           => $this->di->request->getRoute(),
          'routes'          => $this->di->router->getAll(),
          'internalRoutes'  => $this->di->router->getInternal(),
          'controllers'     => $this->di->getControllers(),
        ]);
    }
public function displayValidRoutesAction ( ) { $ this -> di -> views -> add ( 'default/error-routes' , [ 'route' => $ this -> di -> request -> getRoute ( ) , 'routes' => $ this -> di -> router -> getAll ( ) , 'internalRoutes' => $ this -> di -> router -> getInternal ( ) , 'controllers' => $ this -> di -> getControllers ( ) , ] ) ; }
Display a list of valid routes.

@return void
Display a list of valid routes .