Skip to content

Commit 4a0990c

Browse files
committed
Merge pull request #2976 from michelsalib/patch-1
Fixing wrong parameter name in redirecting in config
2 parents 1b874ce + 3843834 commit 4a0990c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/routing/redirect_in_config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Your configuration will look like this:
2323
path: /
2424
defaults:
2525
_controller: FrameworkBundle:Redirect:urlRedirect
26-
route: /app
26+
path: /app
2727
permanent: true
2828
2929
In this example, you configure a route for the ``/`` path and let :class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController`

0 commit comments

Comments
 (0)