Redirect to homepage if referer is null

Fix #1924
This commit is contained in:
Nicolas Lœuillet
2016-04-15 07:58:01 +02:00
parent f2e5fdc366
commit af497a641c
5 changed files with 104 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"