public function redirect()
    {
        if (isset($_GET['template']) === false) {
            return redirect($this->router->generate('navigations-page'));
        } else {
            return 'Redirect: ' . $this->router->generate('navigations-page');
        }
    }