Skip to content

Commit a90ae14

Browse files
committed
Deprecating support for legacy templates directory
1 parent 5d5da2f commit a90ae14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/twig.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ The default directory where Symfony will look for Twig templates.
256256
paths
257257
~~~~~
258258

259+
.. versionadded:: 4.2
260+
The templates directory ``src/Resources/views/`` was deprecated in Symfony 4.2,
261+
use the directory defined in the ``default_path`` option (``templates/`` by default).
262+
259263
**type**: ``array`` **default**: ``null``
260264

261265
This option defines the directories where Symfony will look for Twig templates

0 commit comments

Comments
 (0)