From c3d50f0bb3559b7b1d2e2935e135d415c7d5dc48 Mon Sep 17 00:00:00 2001 From: "M.Wiesner" Date: Sat, 13 Dec 2014 17:27:36 +0100 Subject: [PATCH 1/2] Update the_controller.rst Corrected error in the sample code. --- quick_tour/the_controller.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quick_tour/the_controller.rst b/quick_tour/the_controller.rst index e6031ec8494..8340a1fac7a 100644 --- a/quick_tour/the_controller.rst +++ b/quick_tour/the_controller.rst @@ -205,8 +205,8 @@ different controller using the ``forward()`` method:: public function indexAction() { return $this->forward('AppBundle:Blog:index', array( - 'name' => $name - ); + 'name' => 'Fabien' + )); } } From c1010281e3a2f98986caf387d3618c06441143f8 Mon Sep 17 00:00:00 2001 From: "M.Wiesner" Date: Sat, 13 Dec 2014 21:09:56 +0100 Subject: [PATCH 2/2] Update the_controller.rst --- quick_tour/the_controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quick_tour/the_controller.rst b/quick_tour/the_controller.rst index 8340a1fac7a..344d83d6569 100644 --- a/quick_tour/the_controller.rst +++ b/quick_tour/the_controller.rst @@ -205,7 +205,7 @@ different controller using the ``forward()`` method:: public function indexAction() { return $this->forward('AppBundle:Blog:index', array( - 'name' => 'Fabien' + 'name' => 'Fabien', )); } }