aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config
diff options
context:
space:
mode:
Diffstat (limited to 'app/config')
-rw-r--r--app/config/services.yml9
-rw-r--r--app/config/wallabag.yml1
2 files changed, 10 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 }
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml
index b45934e4..ab12d68a 100644
--- a/app/config/wallabag.yml
+++ b/app/config/wallabag.yml
@@ -22,6 +22,7 @@ wallabag_core:
22 cache_lifetime: 10 22 cache_lifetime: 10
23 action_mark_as_read: 1 23 action_mark_as_read: 1
24 list_mode: 0 24 list_mode: 0
25 notifications_nb: 5
25 fetching_error_message_title: 'No title found' 26 fetching_error_message_title: 'No title found'
26 fetching_error_message: | 27 fetching_error_message: |
27 wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. 28 wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>.