aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-09 22:12:10 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-09 22:12:10 +0100
commit021b233b3a77271b9c5e54c73a1bc4827fa7ac52 (patch)
tree948928f5252113c31e11a066cc9c3c9b043b3948
parentImproved OPML import. (diff)
downloadnewspipe-021b233b3a77271b9c5e54c73a1bc4827fa7ac52.tar.gz
newspipe-021b233b3a77271b9c5e54c73a1bc4827fa7ac52.tar.bz2
newspipe-021b233b3a77271b9c5e54c73a1bc4827fa7ac52.zip
Updated redirection for delete_feed view.
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 52ca3365..19e52ee3 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -471,7 +471,7 @@ def delete_feed(feed_id=None):
break
else:
flash('Impossible to delete this feed.', 'danger')
- return redirect(url_for('home'))
+ return redirect(redirect_url())
@app.route('/profile/', methods=['GET', 'POST'])
@login_required
bgstack15