public function redirectToRoute(Response $response, $route, array $data = [], array $queryParams = [], $suffix = '')
    {
        $url = $this->router->pathFor($route, $data, $queryParams) . $suffix;

        return $response->withRedirect($url, 301);
    }