We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9ddbde + 90edeb3 commit 52a06e0Copy full SHA for 52a06e0
routing.rst
@@ -1768,6 +1768,8 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
1768
# * for temporary redirects, it uses the 307 status code instead of 302
1769
# * for permanent redirects, it uses the 308 status code instead of 301
1770
keepRequestMethod: true
1771
+ # add this to remove the original route attributes when redirecting
1772
+ ignoreAttributes: true
1773
1774
legacy_doc:
1775
path: /legacy/doc
0 commit comments