Skip to content

Commit 4665f42

Browse files
committed
Minor reword
1 parent da88167 commit 4665f42

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

reference/configuration/twig.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,13 @@ 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-
263259
**type**: ``array`` **default**: ``null``
264260

261+
.. versionadded:: 4.2
262+
Using the ``src/Resources/views/`` directory to store templates was
263+
deprecated in Symfony 4.2. Use instead the directory defined in the
264+
``default_path`` option (which is ``templates/`` by default).
265+
265266
This option defines the directories where Symfony will look for Twig templates
266267
in addition to the default locations. Symfony looks for the templates in the
267268
following order:

0 commit comments

Comments
 (0)