File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ the ``templates/layout.php``:
240
240
You now have a setup that will allow you to reuse the layout.
241
241
Unfortunately, to accomplish this, you're forced to use a few ugly
242
242
PHP functions (``ob_start() ``, ``ob_get_clean() ``) in the template. Symfony
243
- solves this using `Twig `_ component . You'll see it in action shortly.
243
+ solves this using `Twig `_. You'll see it in action shortly.
244
244
245
245
Adding a Blog "show" Page
246
246
-------------------------
@@ -568,9 +568,8 @@ nice way to group related pages. The controller functions are also sometimes cal
568
568
569
569
The two controllers (or actions) are still lightweight. Each uses the
570
570
:doc: `Doctrine ORM library </doctrine >` to retrieve objects from the
571
- database and the Twig component to render a template and return a
572
- ``Response `` object. The ``list.html.twig `` template is now quite a bit simpler,
573
- and uses Twig:
571
+ database and Twig to render a template and return a ``Response `` object.
572
+ The ``list.html.twig `` template is now quite a bit simpler, and uses Twig:
574
573
575
574
.. code-block :: html+twig
576
575
You can’t perform that action at this time.
0 commit comments