public function redirectTo($routeName, $query = array(), $params = array())
    {
        $path = $this->pathFor($routeName, $params);

        if (!is_array($query)) {
            throw new \UnexpectedValueException('Router::redirectTo A query deve ser um array!');
        }

        if (count($query) > 0) {
            $path = $path.'?'.http_build_query($query);
        }
        $path = ($path == '') ? '/' :  $path;
        header("Location: ".$path);
        die;
    }