Skip to content

Commit 7aa023d

Browse files
committed
[book][templating] Shortening language for #1587
1 parent 3b7e398 commit 7aa023d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/templating.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,10 +1012,10 @@ from the bundle to ``app/Resources/AcmeBlogBundle/views/Blog/index.html.twig``
10121012
(the ``app/Resources/AcmeBlogBundle`` directory won't exist, so you'll need
10131013
to create it). You're now free to customize the template.
10141014

1015-
When Symfony looks into folders to discover templates, the location of the
1016-
found template is cached. If you add a template in a new location, don't
1017-
forget to clear the cache (``./app/console cache:clear``), even if you are in
1018-
debug mode.
1015+
.. caution::
1016+
1017+
If you add a template in a new location, you *may* need to clear your
1018+
cache (``php app/console cache:clear``), even if you are in debug mode.
10191019

10201020
This logic also applies to base bundle templates. Suppose also that each
10211021
template in ``AcmeBlogBundle`` inherits from a base template called

0 commit comments

Comments
 (0)