diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-15 07:58:01 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-15 07:58:01 +0200 |
commit | af497a641c2a46c99bbc67215e041a46c91695bc (patch) | |
tree | 40795f74b9bf9b6bcfeab4f71e39994c6688dd31 /src/Wallabag/CoreBundle/Resources | |
parent | f2e5fdc3666a2a6525b4202ab48df05efeebaf5c (diff) | |
download | wallabag-af497a641c2a46c99bbc67215e041a46c91695bc.tar.gz wallabag-af497a641c2a46c99bbc67215e041a46c91695bc.tar.zst wallabag-af497a641c2a46c99bbc67215e041a46c91695bc.zip |
Redirect to homepage if referer is null
Fix #1924
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 6dc1f1d7..f8835198 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -114,3 +114,8 @@ services: | |||
114 | class: Wallabag\CoreBundle\Operator\Doctrine\Matches | 114 | class: Wallabag\CoreBundle\Operator\Doctrine\Matches |
115 | tags: | 115 | tags: |
116 | - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true } | 116 | - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true } |
117 | |||
118 | wallabag_core.helper.redirect: | ||
119 | class: Wallabag\CoreBundle\Helper\Redirect | ||
120 | arguments: | ||
121 | - "@router" | ||