Skip to content

Added shortcut methods for controllers #4109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Prev Previous commit
Next Next commit
Merge branch 'master' into add-shortcut-methods
Conflicts:
	book/controller.rst
	book/security.rst
	cookbook/security/remember_me.rst
	cookbook/security/securing_services.rst
	quick_tour/the_controller.rst
  • Loading branch information
Cydonia7 committed Jan 4, 2015
commit cded08bd25e1e460efbfed18e19c3f363f9fe09b
4 changes: 3 additions & 1 deletion book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ A great way to see the core functionality in action is to look in the
Redirecting
~~~~~~~~~~~

If you want to redirect the user to another page, use the ``redirectToRoute()`` method::
If you want to redirect the user to another page, use the
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::redirectToRoute`
method::

public function indexAction()
{
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.