Add user-agnostic redirect to todo tags

This commit is contained in:
rubenwardy 2021-01-10 03:09:02 +00:00
parent aabf70d458
commit 01bed3e307
1 changed files with 5 additions and 0 deletions

View File

@ -129,6 +129,11 @@ def tags():
return render_template("todo/tags.html", packages=query.all(), tags=tags)
@bp.route("/user/tags/")
def tags_user():
return redirect(url_for('todo.tags', author=current_user.username))
@bp.route("/todo/metapackages/")
@login_required
def metapackages():