Merge pull request #1925 from wallabag/fix-redirect-without-referer

Redirect to homepage if referer is null
This commit is contained in:
Nicolas Lœuillet
2016-04-15 17:52:33 +02:00
5 changed files with 111 additions and 4 deletions

View File

@ -114,3 +114,8 @@ services:
class: Wallabag\CoreBundle\Operator\Doctrine\Matches
tags:
- { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true }
wallabag_core.helper.redirect:
class: Wallabag\CoreBundle\Helper\Redirect
arguments:
- "@router"