Skip to content

Commit 65d2a27

Browse files
committed
Fixed a minor error introduced by the new redirectToRoute() method
1 parent 9a53d1e commit 65d2a27

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)