Skip to content

Commit 52a06e0

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Add ignoreAttributes to the documentation
2 parents f9ddbde + 90edeb3 commit 52a06e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,6 +1768,8 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
17681768
# * for temporary redirects, it uses the 307 status code instead of 302
17691769
# * for permanent redirects, it uses the 308 status code instead of 301
17701770
keepRequestMethod: true
1771+
# add this to remove the original route attributes when redirecting
1772+
ignoreAttributes: true
17711773
17721774
legacy_doc:
17731775
path: /legacy/doc

0 commit comments

Comments
 (0)