Skip to content

Commit d11225f

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: use /templates instead of /Resources/views
2 parents 9d83393 + 8dc86e5 commit d11225f

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
@@ -1273,7 +1273,7 @@ and leaves the repeated contents and HTML structure to some parent templates.
12731273

12741274
.. code-block:: html+twig
12751275

1276-
{# app/Resources/views/blog/index.html.twig #}
1276+
{# templates/blog/index.html.twig #}
12771277
{% extends 'base.html.twig' %}
12781278

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

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

14661466
.. tip::

0 commit comments

Comments
 (0)