diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-06-28 10:34:22 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-06-28 10:34:22 +0200 |
commit | e255f5104a3ee96327876b25cca004ea300a53af (patch) | |
tree | d6ee8fda5b2abecae59c6aca5b957a7074e1f201 /src/web/views/bookmark.py | |
parent | Just testing pew in order to ease contributions. (diff) | |
download | newspipe-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/bookmark.py')
-rw-r--r-- | src/web/views/bookmark.py | 2 |
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']) |