aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2014-06-12 11:39:45 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2014-06-12 11:39:45 +0200
commit765f72d2f8fd7b48fd636d8ea61c9c215271a2b9 (patch)
treef914d8abcff0b51b8507591058b0e4d1acdc6c2c /pyaggr3g470r
parentstyle correction (diff)
downloadnewspipe-765f72d2f8fd7b48fd636d8ea61c9c215271a2b9.tar.gz
newspipe-765f72d2f8fd7b48fd636d8ea61c9c215271a2b9.tar.bz2
newspipe-765f72d2f8fd7b48fd636d8ea61c9c215271a2b9.zip
unread redirects home
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 1b3be75e..8a3ccbe9 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -358,7 +358,7 @@ def mark_as(new_value='read', feed_id=None, article_id=None):
db.session.commit()
if readed:
return redirect(redirect_url())
- return redirect(redirect_url())
+ return redirect(url_for('home'))
@app.route('/like/<int:article_id>', methods=['GET'])
@login_required
bgstack15