From 85ff539ac9aa4f02d2ef1fa317a5780ad0d7e794 Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Wed, 11 Jul 2018 12:21:31 -0400 Subject: [PATCH 1/3] Use default_path instead of paths for Twig and Translator config --- symfony/translation/3.3/config/packages/translation.yaml | 3 +-- symfony/twig-bundle/3.3/config/packages/twig.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/symfony/translation/3.3/config/packages/translation.yaml b/symfony/translation/3.3/config/packages/translation.yaml index 1edfbe23..e6b1cd66 100644 --- a/symfony/translation/3.3/config/packages/translation.yaml +++ b/symfony/translation/3.3/config/packages/translation.yaml @@ -1,7 +1,6 @@ framework: default_locale: '%locale%' translator: - paths: - - '%kernel.project_dir%/translations' + default_path: '%kernel.project_dir%/translations' fallbacks: - '%locale%' diff --git a/symfony/twig-bundle/3.3/config/packages/twig.yaml b/symfony/twig-bundle/3.3/config/packages/twig.yaml index 3b315dcc..d1582a23 100644 --- a/symfony/twig-bundle/3.3/config/packages/twig.yaml +++ b/symfony/twig-bundle/3.3/config/packages/twig.yaml @@ -1,4 +1,4 @@ twig: - paths: ['%kernel.project_dir%/templates'] + default_path: '%kernel.project_dir%/templates' debug: '%kernel.debug%' strict_variables: '%kernel.debug%' From cc439b6eb0eabda7c43352bff97d0381d371450c Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Thu, 9 Aug 2018 10:50:01 -0400 Subject: [PATCH 2/3] add config suggestion for addition paths --- symfony/twig-bundle/3.3/config/packages/twig.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/symfony/twig-bundle/3.3/config/packages/twig.yaml b/symfony/twig-bundle/3.3/config/packages/twig.yaml index d1582a23..9edecc5a 100644 --- a/symfony/twig-bundle/3.3/config/packages/twig.yaml +++ b/symfony/twig-bundle/3.3/config/packages/twig.yaml @@ -1,4 +1,6 @@ twig: default_path: '%kernel.project_dir%/templates' + # additional template paths + #paths: [] debug: '%kernel.debug%' strict_variables: '%kernel.debug%' From 499af21e077a97c8dd289e655dc8a2d2d91ed6f0 Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Sat, 8 Sep 2018 07:57:12 -0400 Subject: [PATCH 3/3] removing Twig paths comment --- symfony/twig-bundle/3.3/config/packages/twig.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/symfony/twig-bundle/3.3/config/packages/twig.yaml b/symfony/twig-bundle/3.3/config/packages/twig.yaml index 9edecc5a..d1582a23 100644 --- a/symfony/twig-bundle/3.3/config/packages/twig.yaml +++ b/symfony/twig-bundle/3.3/config/packages/twig.yaml @@ -1,6 +1,4 @@ twig: default_path: '%kernel.project_dir%/templates' - # additional template paths - #paths: [] debug: '%kernel.debug%' strict_variables: '%kernel.debug%'