Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
nayzo committed Mar 12, 2014
1 parent 1cc5925 commit f1ee6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/controller/service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ To refer to a controller that's defined as a service, use the single colon (:)
notation. For example, to forward to the ``indexAction()`` method of the service
defined above with the id ``acme.hello.controller``::

$this->forward('acme.hello.controller:indexAction');
$this->forward('acme.hello.controller:indexAction', array('name' => $name));

.. note::

Expand Down

0 comments on commit f1ee6c2

Please # to comment.