]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/services.yml
Notifications
[github/wallabag/wallabag.git] / app / config / services.yml
index 7b85d846bbbe5dea783885eec1c9aec8005b7ad4..3b454760ce7cd5af66ae7f22f9c2e860de2a211e 100644 (file)
@@ -13,14 +13,23 @@ services:
         tags:
             - { name: twig.extension }
 
+    twig.extension.date:
+        class: Twig_Extensions_Extension_Date
+        arguments:
+            - "@translator"
+        tags:
+            - { name: twig.extension }
+
     wallabag.twig_extension:
         class: Wallabag\CoreBundle\Twig\WallabagExtension
         public: false
         arguments:
             - "@wallabag_core.entry_repository"
             - "@wallabag_core.tag_repository"
+            - "@wallabag_core.notification_repository"
             - "@security.token_storage"
             - "%wallabag_core.cache_lifetime%"
+            - "%wallabag_core.notifications_nb%"
             - "@translator"
         tags:
             - { name: twig.extension }