Skip to content

Commit e423690

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: use /templates instead of /Resources/views
2 parents 008d3bc + d11225f commit e423690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ and leaves the repeated contents and HTML structure to some parent templates.
13171317

13181318
.. code-block:: html+twig
13191319

1320-
{# app/Resources/views/blog/index.html.twig #}
1320+
{# templates/blog/index.html.twig #}
13211321
{% extends 'base.html.twig' %}
13221322

13231323
{# the line below is not captured by a "block" tag #}
@@ -1504,7 +1504,7 @@ templates under an automatic namespace created after the bundle name.
15041504

15051505
For example, the templates of a bundle called ``AcmeBlogBundle`` are available
15061506
under the ``AcmeBlog`` namespace. If this bundle includes the template
1507-
``<your-project>/vendor/acme/blog-bundle/Resources/views/user/profile.html.twig``,
1507+
``<your-project>/vendor/acme/blog-bundle/templates/user/profile.html.twig``,
15081508
you can refer to it as ``@AcmeBlog/user/profile.html.twig``.
15091509

15101510
.. tip::

0 commit comments

Comments
 (0)