diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2014-02-03 09:04:50 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2014-02-03 09:04:50 +0100 |
commit | 8e38ce1b37adf31e30bb1648f427cc9805a9ecd7 (patch) | |
tree | 2a4c46907c6d960a13d26a11f287300d7edbcf75 /pyaggr3g470r/views.py | |
parent | Improvement of the Flask redirection for the view mark_as_read(). (diff) | |
download | newspipe-8e38ce1b37adf31e30bb1648f427cc9805a9ecd7.tar.gz newspipe-8e38ce1b37adf31e30bb1648f427cc9805a9ecd7.tar.bz2 newspipe-8e38ce1b37adf31e30bb1648f427cc9805a9ecd7.zip |
Redirec to referrer.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index e44f0f28..80dd203c 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -118,7 +118,7 @@ def fetch(feed_id=None): feed_getter = feedgetter.FeedGetter(g.user.email) feed_getter.retrieve_feed(feed_id) flash("New articles retrieved.", 'success') - return redirect(url_for('home')) + return redirect(redirect_url()) @app.route('/about/', methods=['GET']) @login_required |