Skip to content

Commit

Permalink
Clarified introduction to the Controller->forward() example. Not sure…
Browse files Browse the repository at this point in the history
… what "As for the ``actions`` helper," meant.
  • Loading branch information
Nathan Vonnahme committed Apr 4, 2011
1 parent cc9f3bd commit 134f3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quick_tour/the_controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ templates. It takes the route name and an array of parameters as arguments and
returns the associated friendly URL.

You can also easily forward the action to another one with the ``forward()``
method. As for the ``actions`` helper, it makes an internal sub-request, but
method. It makes an internal sub-request, but
it returns the ``Response`` object to allow for further modification::

$response = $this->forward('AcmeDemoBundle:Hello:fancy', array('name' => $name, 'color' => 'green'));
Expand Down

0 comments on commit 134f3b4

Please sign in to comment.