Skip to content

Commit d65880f

Browse files
committed
bug #5092 Fixed a minor error introduced by the new redirectToRoute() method (javiereguiluz)
This PR was merged into the 2.6 branch. Discussion ---------- Fixed a minor error introduced by the new redirectToRoute() method Commits ------- 65d2a27 Fixed a minor error introduced by the new redirectToRoute() method
2 parents 9a53d1e + 65d2a27 commit d65880f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ Or, if you want to redirect externally, just use ``redirect()`` and pass it the
451451
}
452452

453453
By default, the ``redirectToRoute()`` method performs a 302 (temporary) redirect. To
454-
perform a 301 (permanent) redirect, modify the second argument::
454+
perform a 301 (permanent) redirect, modify the third argument::
455455

456456
public function indexAction()
457457
{

0 commit comments

Comments
 (0)