From c6574fa4b8b922ce15bccaec859f4cb0519db6d0 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 12 Sep 2019 11:08:28 +0200 Subject: [PATCH] Fixed some RST issues in the recently reworded Templates article --- templates.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates.rst b/templates.rst index 610b2e163bb..d92357954a0 100644 --- a/templates.rst +++ b/templates.rst @@ -455,7 +455,7 @@ Rendering a Template Directly from a Route Although templates are usually rendered in controllers and services, you can render static pages that don't need any variables directly from the route -definition. Use the special ``TemplateController`` provided by Symfony:: +definition. Use the special ``TemplateController`` provided by Symfony: .. configuration-block:: @@ -595,7 +595,7 @@ Symfony provides a :ref:`dump() function ` as an improved alternative to PHP's ``var_dump()`` function. This function is useful to inspect the contents of any variable and you can use it in Twig templates too. -First, make sure that the VarDumper component is installed in the application:: +First, make sure that the VarDumper component is installed in the application: .. code-block:: terminal @@ -815,8 +815,8 @@ complex applications: * ``templates/base.html.twig``, defines the common elements of all application templates, such as ````, ``
``, ``