]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/services.yml
Add base64 extensions in twig
[packbundle] / Resources / config / services.yml
index dc64b83e88593eacd4f65e91dc1343b8cc79d30b..7d16276a942ca93f03621e65d4ee8980bb33f403 100644 (file)
@@ -1,5 +1,8 @@
 services:
     rapsys_pack.twig.pack_extension:
-         class: Rapsys\PackBundle\Twig\PackExtension
-         arguments: [ '@file_locator', '@service_container' ]
-         tags: [ twig.extension ]
+        class: Rapsys\PackBundle\Twig\PackExtension
+        arguments: [ '@file_locator', '@service_container', '@assets.packages' ]
+        tags: [ twig.extension ]
+    rapsys_pack.twig.base64:
+        class: Rapsys\PackBundle\Twig\Base64Extension
+        tags: [ twig.extension ]