diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-27 21:28:48 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-28 13:42:50 +0100 |
commit | 2863bf2ab58a4903128f60751aa416130db93e52 (patch) | |
tree | 42c40d24baab371f5dd41eda12d3cbdbe6445a51 /src/Wallabag/UserBundle/Entity/User.php | |
parent | 71eff67f8b65a8337bd169fe8c271957ddd0aba0 (diff) | |
download | wallabag-2863bf2ab58a4903128f60751aa416130db93e52.tar.gz wallabag-2863bf2ab58a4903128f60751aa416130db93e52.tar.zst wallabag-2863bf2ab58a4903128f60751aa416130db93e52.zip |
Don't redirect to the content page after deletion
Fix #1512
We generate the url of the removed content and compare it to the referer url. If they matche, we redirect user to the homepage otherwise to the referer url.
Diffstat (limited to 'src/Wallabag/UserBundle/Entity/User.php')
0 files changed, 0 insertions, 0 deletions