Skip to content

Commit b210990

Browse files
committed
minor #13207 Correct outdated/incorrect comment in code snippet (ocrampete16)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead (closes #13207). Discussion ---------- Correct outdated/incorrect comment in code snippet The given arguments are passed to the route, not to the template. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- c7588e8 Correct outdated/incorrect comment in code snippet
2 parents 93274ab + c7588e8 commit b210990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
13881388
->controller(RedirectController::class)
13891389
->defaults([
13901390
'route' => 'doc_page',
1391-
// optionally you can define some arguments passed to the template
1391+
// optionally you can define some arguments passed to the route
13921392
'page' => 'index',
13931393
'version' => 'current',
13941394
// redirections are temporary by default (code 302) but you can make them permanent (code 301)

0 commit comments

Comments
 (0)