瀏覽代碼

enable the twig debug tag

Igor Wiedler 13 年之前
父節點
當前提交
a6e446aaf2
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      app/config/config.yml

+ 10 - 0
app/config/config.yml

@@ -66,3 +66,13 @@ fos_user:
 
 nelmio_solarium:
     adapter: ~
+
+services:
+    twig.extension.text:
+        class: Twig_Extensions_Extension_Text
+        tags:
+            - { name: twig.extension }
+    twig.extension.debug:
+        class: Twig_Extensions_Extension_Debug
+        tags:
+            - { name: twig.extension }