diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-03-02 21:23:19 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-03-02 21:23:19 +0100 |
commit | ba7b9d48d407f87690a3fdc199b37714d2a52897 (patch) | |
tree | a15611f10d09749e82011e0d51532af3de8cfabd /src/Wallabag/CoreBundle/Resources/config | |
parent | fca3c757233940cbe4c431e3e05fe74893225fe0 (diff) | |
parent | 3e30422cdae3cc45f44c3039c2d38b99121dd9e9 (diff) | |
download | wallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.tar.gz wallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.tar.zst wallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.zip |
Merge pull request #1132 from wallabag/v2-theme
V2 theme
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index b066c1a3..c734a3a5 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -1,15 +1,30 @@ | |||
1 | services: | 1 | services: |
2 | wallabag_core.twig.wallabag: | 2 | wallabag_core.twig.extension: |
3 | class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension | 3 | class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension |
4 | tags: | 4 | tags: |
5 | - { name: twig.extension } | 5 | - { name: twig.extension } |
6 | |||
6 | wsse.security.authentication.provider: | 7 | wsse.security.authentication.provider: |
7 | class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider | 8 | class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider |
8 | public: false | 9 | public: false |
9 | arguments: ['', '%kernel.cache_dir%/security/nonces'] | 10 | arguments: ['', '%kernel.cache_dir%/security/nonces'] |
11 | |||
10 | wsse.security.authentication.listener: | 12 | wsse.security.authentication.listener: |
11 | class: Wallabag\CoreBundle\Security\Firewall\WsseListener | 13 | class: Wallabag\CoreBundle\Security\Firewall\WsseListener |
12 | public: false | 14 | public: false |
13 | tags: | 15 | tags: |
14 | - { name: monolog.logger, channel: wsse } | 16 | - { name: monolog.logger, channel: wsse } |
15 | arguments: ['@security.context', '@security.authentication.manager', '@logger'] | 17 | arguments: ['@security.context', '@security.authentication.manager', '@logger'] |
18 | |||
19 | wallabag_core.helper.detect_active_theme: | ||
20 | class: Wallabag\CoreBundle\Helper\DetectActiveTheme | ||
21 | arguments: | ||
22 | - @security.context | ||
23 | - %theme% # default theme from parameters.yml | ||
24 | |||
25 | wallabag_core.form.type.config: | ||
26 | class: Wallabag\CoreBundle\Form\Type\ConfigType | ||
27 | arguments: | ||
28 | - %liip_theme.themes% | ||
29 | tags: | ||
30 | - { name: form.type, alias: config } | ||