Skip to content

Commit c7588e8

Browse files
ocrampete16javiereguiluz
authored andcommitted
Correct outdated/incorrect comment in code snippet
The given arguments are passed to the route, not to the template.
1 parent 93274ab commit c7588e8

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)