This commit is contained in:
Patrick Jentsch 2023-03-14 14:27:41 +01:00
parent 6e9a6fa5a1
commit 0520caeddd
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ def create_app(config: Config = Config) -> Flask:
app.register_blueprint(auth_blueprint, url_prefix='/')
from .contributions import bp as contributions_blueprint
default_breadcrumb_root(contributions_blueprint, '.contributions')
default_breadcrumb_root(contributions_blueprint, '.dashboard.contributions')
app.register_blueprint(contributions_blueprint, url_prefix='/contributions')
from .corpora import bp as corpora_blueprint

View File

@ -5,7 +5,7 @@ from . import bp
@bp.route('')
@register_breadcrumb(bp, '.', '<i class="material-icons left">new_label</i>Contributions')
@register_breadcrumb(bp, '.', '<i class="material-icons left">new_label</i>My Contributions')
@login_required
def contributions():
return redirect(url_for('main.dashboard', _anchor='contributions'))