From e0f9010ec2a558f6cf7d16fb96a2c4cdb34e3f37 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 15 Jun 2017 09:43:48 +0200 Subject: Notifications Signed-off-by: Thomas Citharel --- app/config/services.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/config/services.yml') diff --git a/app/config/services.yml b/app/config/services.yml index 7b85d846..3b454760 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -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 } -- cgit v1.2.3