From c7588e8dcb1faf32b6af8189ec99fb01172113de Mon Sep 17 00:00:00 2001 From: Marco Petersen Date: Fri, 21 Feb 2020 15:32:00 +0100 Subject: [PATCH] Correct outdated/incorrect comment in code snippet The given arguments are passed to the route, not to the template. --- routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing.rst b/routing.rst index 35ee0866a99..41421d563a9 100644 --- a/routing.rst +++ b/routing.rst @@ -1388,7 +1388,7 @@ Use the ``RedirectController`` to redirect to other routes and URLs: ->controller(RedirectController::class) ->defaults([ 'route' => 'doc_page', - // optionally you can define some arguments passed to the template + // optionally you can define some arguments passed to the route 'page' => 'index', 'version' => 'current', // redirections are temporary by default (code 302) but you can make them permanent (code 301)