diff --git a/reference/configuration/twig.rst b/reference/configuration/twig.rst index c84a5ca0fba..44c50884013 100644 --- a/reference/configuration/twig.rst +++ b/reference/configuration/twig.rst @@ -256,6 +256,10 @@ The default directory where Symfony will look for Twig templates. paths ~~~~~ +.. versionadded:: 4.2 + The templates directory ``src/Resources/views/`` was deprecated in Symfony 4.2, + use the directory defined in the ``default_path`` option (``templates/`` by default). + **type**: ``array`` **default**: ``null`` This option defines the directories where Symfony will look for Twig templates