Skip to content

Commit 77d3dc4

Browse files
committed
Fix vendor path equivalence with bundle template names
1 parent 8868343 commit 77d3dc4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,10 +1471,10 @@ may include their own Twig templates (in the ``Resources/views/`` directory of
14711471
each bundle). To avoid messing with your own templates, Symfony adds bundle
14721472
templates under an automatic namespace created after the bundle name.
14731473

1474-
For example, the templates of a bundle called ``AcmeFooBundle`` are available
1475-
under the ``AcmeFoo`` namespace. If this bundle includes the template
1476-
``<your-project>/vendor/acmefoo-bundle/Resources/views/user/profile.html.twig``,
1477-
you can refer to it as ``@AcmeFoo/user/profile.html.twig``.
1474+
For example, the templates of a bundle called ``AcmeBlogBundle`` are available
1475+
under the ``AcmeBlog`` namespace. If this bundle includes the template
1476+
``<your-project>/vendor/acme/blog-bundle/Resources/views/user/profile.html.twig``,
1477+
you can refer to it as ``@AcmeBlog/user/profile.html.twig``.
14781478

14791479
.. tip::
14801480

0 commit comments

Comments
 (0)