From 81e8173ed499720825f13d519624058578f6a92a Mon Sep 17 00:00:00 2001 From: rainydaysavings Date: Sun, 5 Jul 2020 13:35:54 +0000 Subject: [PATCH] [TWIG][CONFIG] Change default_path and add public_path --- config/packages/twig.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index b3cdf30649..05ee15f67e 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -1,2 +1,4 @@ twig: - default_path: '%kernel.project_dir%/templates' + paths: + '%kernel.project_dir%/templates': default_path + "%kernel.project_dir%/public": public_path \ No newline at end of file