8000 Update index.rst · symfony/symfony-docs@f1f9bb0 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1f9bb0

Browse files
nayzoweaverryan
authored andcommitted
Update index.rst
1 parent 5d6d3bf commit f1f9bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/controller/service.rst

Lines changed: 1 addition & 1 deletion
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)
0