@@ -575,7 +575,7 @@ Creating links to other pages in your application is one of the most common
575575jobs for a template. Instead of hardcoding URLs in templates, use the ``path ``
576576Twig function (or the ``router `` helper in PHP) to generate URLs based on
577577the routing configuration. Later, if you want to modify the URL of a particular
578- page, all you'll need to do is change the routing configuration; the templates
578+ page, all you'll need to do is change the routing configuration: the templates
579579will automatically generate the new URL.
580580
581581First, link to the "_welcome" page, which is accessible via the following routing
@@ -706,7 +706,7 @@ route:
706706
707707 In this case, you need to specify both the route name (``article_show ``) and
708708a value for the ``{slug} `` parameter. Using this route, revisit the
709- ``recent_list `` template from the previous section and link to the articles
709+ ``recent_list.html.twig `` template from the previous section and link to the articles
710710correctly:
711711
712712.. configuration-block ::
@@ -905,14 +905,14 @@ block of the base template.
905905
906906You can also include assets located in your bundles' ``Resources/public `` folder.
907907You will need to run the ``php app/console assets:install target [--symlink] ``
908- command, which moves (or symlinks) files into the correct location. (target
908+ command, which copies (or symlinks) files into the correct location. (target
909909is by default "web").
910910
911911.. code-block :: html+twig
912912
913913 <link href="{{ asset('bundles/acmedemo/css/contact.css') }}" rel="stylesheet" />
914914
915- The end result is a page that includes both the ``main.css `` and ``contact.css ``
915+ The end result is a page that includes `` main.js `` and both the ``main.css `` and ``contact.css ``
916916stylesheets.
917917
918918Referencing the Request, User or Session
@@ -934,7 +934,7 @@ Suppose ``description`` equals ``I <3 this product``:
934934.. code-block :: twig
935935
936936 <!-- output escaping is on automatically -->
937- {{ description }} <!-- I <3 this product -->
937+ {{ description }} <!-- I <3 this product -->
938938
939939 <!-- disable output escaping with the raw filter -->
940940 {{ description|raw }} <!-- I <3 this product -->
0 commit comments