Эх сурвалжийг харах

enable the twig debug tag

Igor Wiedler 14 жил өмнө
parent
commit
a6e446aaf2

+ 10 - 0
app/config/config.yml

@@ -66,3 +66,13 @@ fos_user:
 
 
 nelmio_solarium:
 nelmio_solarium:
     adapter: ~
     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 }