diff --git a/quick_tour/the_controller.rst b/quick_tour/the_controller.rst index 114b2e587b3..db4b209bd5a 100644 --- a/quick_tour/the_controller.rst +++ b/quick_tour/the_controller.rst @@ -202,10 +202,11 @@ different controller using the ``forward()`` method:: /** * @Route("/", name="homepage") */ - public function indexAction() + public function indexAction($name) { return $this->forward('AppBundle:Blog:index', array( - 'name' => $name + 'name' => $name + ) ); } }