Skip to content

Commit da88167

Browse files
committed
minor #10500 Deprecating support for legacy templates directory (yceruto)
This PR was merged into the master branch. Discussion ---------- Deprecating support for legacy templates directory Update according to symfony/symfony#28891 Commits ------- a90ae14 Deprecating support for legacy templates directory
2 parents 73d241a + a90ae14 commit da88167

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)