diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-15 09:43:48 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-07-09 19:05:48 +0200 |
commit | 378aaefbbf60698c7b8faafc20f6b8cb22357e31 (patch) | |
tree | d9bf0867797d4f4b60d117a050e1b72719e6f71a /app/config/services.yml | |
parent | b5d7eb148c4cd62ff187b08765f0c13c7d330fcf (diff) | |
download | wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.tar.gz wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.tar.zst wallabag-378aaefbbf60698c7b8faafc20f6b8cb22357e31.zip |
Notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/config/services.yml')
-rw-r--r-- | app/config/services.yml | 9 |
1 files changed, 9 insertions, 0 deletions
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: | |||
13 | tags: | 13 | tags: |
14 | - { name: twig.extension } | 14 | - { name: twig.extension } |
15 | 15 | ||
16 | twig.extension.date: | ||
17 | class: Twig_Extensions_Extension_Date | ||
18 | arguments: | ||
19 | - "@translator" | ||
20 | tags: | ||
21 | - { name: twig.extension } | ||
22 | |||
16 | wallabag.twig_extension: | 23 | wallabag.twig_extension: |
17 | class: Wallabag\CoreBundle\Twig\WallabagExtension | 24 | class: Wallabag\CoreBundle\Twig\WallabagExtension |
18 | public: false | 25 | public: false |
19 | arguments: | 26 | arguments: |
20 | - "@wallabag_core.entry_repository" | 27 | - "@wallabag_core.entry_repository" |
21 | - "@wallabag_core.tag_repository" | 28 | - "@wallabag_core.tag_repository" |
29 | - "@wallabag_core.notification_repository" | ||
22 | - "@security.token_storage" | 30 | - "@security.token_storage" |
23 | - "%wallabag_core.cache_lifetime%" | 31 | - "%wallabag_core.cache_lifetime%" |
32 | - "%wallabag_core.notifications_nb%" | ||
24 | - "@translator" | 33 | - "@translator" |
25 | tags: | 34 | tags: |
26 | - { name: twig.extension } | 35 | - { name: twig.extension } |