From a90ae1483d900377da780bfddecb3e6f5197ff4a Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Tue, 16 Oct 2018 14:50:47 -0400 Subject: [PATCH] Deprecating support for legacy templates directory --- reference/configuration/twig.rst | 4 ++++ 1 file changed, 4 insertions(+) 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