From 765f72d2f8fd7b48fd636d8ea61c9c215271a2b9 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Thu, 12 Jun 2014 11:39:45 +0200 Subject: unread redirects home --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/', methods=['GET']) @login_required -- cgit