From f1f9bb03626273e5b755555cf6876d4a93d78c28 Mon Sep 17 00:00:00 2001 From: Ala Eddine khefifi Date: Wed, 12 Mar 2014 16:09:14 +0100 Subject: [PATCH] Update index.rst --- cookbook/controller/service.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/controller/service.rst b/cookbook/controller/service.rst index dbcb9689b99..3577c1a2487 100644 --- a/cookbook/controller/service.rst +++ b/cookbook/controller/service.rst @@ -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::