Skip to content

Commit 6380113

Browse files
committed
minor symfony#3667 Update index.rst (NAYZO)
This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes symfony#3667). Discussion ---------- Update index.rst Commits ------- f1ee6c2 Update index.rst
2 parents 5d6d3bf + f1f9bb0 commit 6380113

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)