diff --git a/quick_tour/the_controller.rst b/quick_tour/the_controller.rst index 114b2e587b3..a98ff0e97f6 100644 --- a/quick_tour/the_controller.rst +++ b/quick_tour/the_controller.rst @@ -204,9 +204,10 @@ different controller using the ``forward()`` method:: */ public function indexAction() { - return $this->forward('AppBundle:Blog:index', array( - 'name' => $name - ); + return $this->forward('AppBundle:Default:hello', array( + 'name' => 'Fabien', + '_format' => 'html' + )); } }