Skip to content

Commit 91ccdef

Browse files
committed
minor #16012 [Routing] Add ignoreAttributes to the documentation (lamasfoker)
This PR was merged into the 4.4 branch. Discussion ---------- [Routing] Add ignoreAttributes to the documentation Add the documentation for a missing redirect configuration as stated symfony/symfony#38069 (comment) Commits ------- e83469e Add ignoreAttributes to the documentation
2 parents 643c60f + e83469e commit 91ccdef

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
@@ -1366,6 +1366,8 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
13661366
# * for temporary redirects, it uses the 307 status code instead of 302
13671367
# * for permanent redirects, it uses the 308 status code instead of 301
13681368
keepRequestMethod: true
1369+
# add this to remove the parameters when redirecting
1370+
ignoreAttributes: true
13691371
13701372
legacy_doc:
13711373
path: /legacy/doc

0 commit comments

Comments
 (0)