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.
1 parent 19e9d0b commit 69f11e7Copy full SHA for 69f11e7
routing.rst
@@ -1426,6 +1426,13 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
1426
Symfony also provides some utilities to
1427
:ref:`redirect inside controllers <controller-redirect>`
1428
1429
+.. versionadded:: 4.4
1430
+
1431
+ In Symfony versions prior to 4.4, you needed to define the specific
1432
+ ``RedirectController`` method to use (either ``redirectAction`` or
1433
+ ``urlRedirectAction``). Starting from Symfony 4.4 this is no longer needed
1434
+ because Symfony detects if the redirection is to a route or an URL.
1435
1436
.. _routing-trailing-slash-redirection:
1437
1438
Redirecting URLs with Trailing Slashes
0 commit comments