From e83469e557c1da1e9c1b21c982389e0b8f039d6b Mon Sep 17 00:00:00 2001 From: Giacomo Moscardini Date: Wed, 27 Oct 2021 12:43:07 +0200 Subject: [PATCH] Add ignoreAttributes to the documentation --- routing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routing.rst b/routing.rst index bd014cfcfb6..230cda540fd 100644 --- a/routing.rst +++ b/routing.rst @@ -1367,6 +1367,8 @@ Use the ``RedirectController`` to redirect to other routes and URLs: # * for temporary redirects, it uses the 307 status code instead of 302 # * for permanent redirects, it uses the 308 status code instead of 301 keepRequestMethod: true + # add this to remove the parameters when redirecting + ignoreAttributes: true legacy_doc: path: /legacy/doc