public function redirect($route, $permanent = false)
    {
        $route = $this->validate($route);
        return $this->redirectPath($this->getPath($route), $route->getQuery(), $route->getFragment(), $permanent);
    }