File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1012,6 +1012,11 @@ 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.
1019
+
1015
1020
This logic also applies to base bundle templates. Suppose also that each
1016
1021
template in ``AcmeBlogBundle `` inherits from a base template called
1017
1022
``AcmeBlogBundle::layout.html.twig ``. Just as before, Symfony2 will look in
You can’t perform that action at this time.
0 commit comments