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