Skip to content

Commit

Permalink
bug #5092 Fixed a minor error introduced by the new redirectToRoute()…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
weaverryan committed Mar 24, 2015
2 parents 9a53d1e + 65d2a27 commit d65880f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ Or, if you want to redirect externally, just use ``redirect()`` and pass it the
}

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

public function indexAction()
{
Expand Down

0 comments on commit d65880f

Please sign in to comment.