aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-28 10:34:22 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-28 10:34:22 +0200
commite255f5104a3ee96327876b25cca004ea300a53af (patch)
treed6ee8fda5b2abecae59c6aca5b957a7074e1f201 /src/web/views
parentJust testing pew in order to ease contributions. (diff)
downloadnewspipe-e255f5104a3ee96327876b25cca004ea300a53af.tar.gz
newspipe-e255f5104a3ee96327876b25cca004ea300a53af.tar.bz2
newspipe-e255f5104a3ee96327876b25cca004ea300a53af.zip
After the deletion of a bookmark, returns to the list of bookmarks.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/bookmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/bookmark.py b/src/web/views/bookmark.py
index 81189105..966ca4b2 100644
--- a/src/web/views/bookmark.py
+++ b/src/web/views/bookmark.py
@@ -185,7 +185,7 @@ def delete(bookmark_id=None):
bookmark = BookmarkController(current_user.id).delete(bookmark_id)
flash(gettext("Bookmark %(bookmark_name)s successfully deleted.",
bookmark_name=bookmark.title), 'success')
- return redirect(redirect_url())
+ return redirect(url_for('bookmarks.list_'))
@bookmarks_bp.route('/delete', methods=['GET'])
bgstack15