aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2014-06-12 21:54:10 +0200
committerCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2014-06-12 21:54:10 +0200
commitd27279bd9ce6a5031da273af556c85a7139563ae (patch)
treedc97beb480f0a7d064e3162806fde2187f25715c /pyaggr3g470r/views.py
parentMerged in jaesivsm/pyaggr3g470r/ui_tweak (pull request #3) (diff)
parentmore ui_tweak for menus (diff)
downloadnewspipe-d27279bd9ce6a5031da273af556c85a7139563ae.tar.gz
newspipe-d27279bd9ce6a5031da273af556c85a7139563ae.tar.bz2
newspipe-d27279bd9ce6a5031da273af556c85a7139563ae.zip
Merged in jaesivsm/pyaggr3g470r (pull request #4)
Some UI improvements
Diffstat (limited to 'pyaggr3g470r/views.py')
-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