aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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