File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1012,10 +1012,10 @@ from the bundle to ``app/Resources/AcmeBlogBundle/views/Blog/index.html.twig``
1012
1012
(the ``app/Resources/AcmeBlogBundle `` directory won't exist, so you'll need
1013
1013
to create it). You're now free to customize the template.
1014
1014
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.
1019
1019
1020
1020
This logic also applies to base bundle templates. Suppose also that each
1021
1021
template in ``AcmeBlogBundle `` inherits from a base template called
You can’t perform that action at this time.
0 commit comments