Skip to content

Commit 5ab6ef2

Browse files
committed
Remove deprecated directives in 5.0 docs
1 parent 1b18130 commit 5ab6ef2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

templates.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -994,12 +994,6 @@ When rendering a template, Symfony looks for it first in the ``twig.paths``
994994
directories that don't define a namespace and then falls back to the default
995995
template directory (usually, ``templates/``).
996996

997-
.. deprecated:: 4.2
998-
999-
Symfony looks for templates in the ``src/Resources/views/`` too before
1000-
falling back to the default directory. But that behavior is deprecated since
1001-
Symfony 4.2 and will be removed in Symfony 5.0.
1002-
1003997
Using the above configuration, if your application renders for example the
1004998
``layout.html.twig`` template, Symfony will first look for
1005999
``email/default/templates/layout.html.twig`` and ``backend/templates/layout.html.twig``.

0 commit comments

Comments
 (0)