From 80326e427afe98cb97d5978710559904a37d07c0 Mon Sep 17 00:00:00 2001 From: Jevgenijus Andrijankinas Date: Tue, 5 Jul 2016 13:16:02 +0300 Subject: [PATCH] Typo fix "they the name" => "that the name" --- book/controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/controller.rst b/book/controller.rst index 9eaaf6a1b77..fcfb5752628 100644 --- a/book/controller.rst +++ b/book/controller.rst @@ -256,7 +256,7 @@ The controller has a single argument, ``$name``, which corresponds to the ``{name}`` placeholder from the matched route (e.g. ``ryan`` if you go to ``/hello/ryan``). When executing the controller, Symfony matches each argument with a placeholder from the route. So the value for ``{name}`` is passed -to ``$name``. Just make sure they the name of the placeholder is the +to ``$name``. Just make sure that the name of the placeholder is the same as the name of the argument variable. Take the following more-interesting example, where the controller has two