diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-15 17:52:33 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-15 17:52:33 +0200 |
commit | d1f4996b77bc9c7b692cd98d835476f1c84edc28 (patch) | |
tree | e5e27ae5b1fa4f4d71623d13ba33e2ff7669f0cd /src/Wallabag/CoreBundle/Resources | |
parent | 51803026501e7098eaa889df489cd037d6dc22cd (diff) | |
parent | 345d74268b2d3d232b2de02f30e950d032a2e7b5 (diff) | |
download | wallabag-d1f4996b77bc9c7b692cd98d835476f1c84edc28.tar.gz wallabag-d1f4996b77bc9c7b692cd98d835476f1c84edc28.tar.zst wallabag-d1f4996b77bc9c7b692cd98d835476f1c84edc28.zip |
Merge pull request #1925 from wallabag/fix-redirect-without-referer
Redirect to homepage if referer is null
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" | ||