src/Controller/Navigation.php
public function redirect()
    {
        if (isset($_GET['template']) === false) {
            return redirect($this->router->generate('navigations-page'));
        } else {
            return 'Redirect: ' . $this->router->generate('navigations-page');
        }
    }
public function redirect()
    {
        if (isset($_GET['template']) === false) {
            return redirect($this->router->generate('navigations-page'));
        } else {
            return 'Redirect: ' . $this->router->generate('navigations-page');
        }
    }
public function redirect ( ) { if ( isset ( $ _GET [ 'template' ] ) === false ) { return redirect ( $ this -> router -> generate ( 'navigations-page' ) ) ; } else { return 'Redirect: ' . $ this -> router -> generate ( 'navigations-page' ) ; } }
Redirect to the dashboard
Redirect to the dashboard