protected function makeRedirect($url)
    {
        $redirect = new RedirectResponse($url);
        $redirect->setSession($this->session);
        $redirect->setInput($this->input);

        return $redirect;
    }