Browse Source

Add plugin folder to load twig templates

jmontoyaa 8 years ago
parent
commit
d64721328b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/config/config.yml

+ 2 - 0
app/config/config.yml

@@ -85,6 +85,8 @@ twig:
     debug:            "%kernel.debug%"
     strict_variables: "%kernel.debug%"
     base_template_class: Sonata\CacheBundle\Twig\TwigTemplate14
+    paths:
+        '%kernel.root_dir%/../plugin': plugin
 
     form:
         resources: