Skip to content

Commit f1ee6c2

Browse files
committed
Update index.rst
1 parent 1cc5925 commit f1ee6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/controller/service.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ To refer to a controller that's defined as a service, use the single colon (:)
9696
notation. For example, to forward to the ``indexAction()`` method of the service
9797
defined above with the id ``acme.hello.controller``::
9898

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

101101
.. note::
102102

0 commit comments

Comments
 (0)