Skip to content
Snippets Groups Projects
Commit 0520caed authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

fix

parent 6e9a6fa5
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ def create_app(config: Config = Config) -> Flask: ...@@ -72,7 +72,7 @@ def create_app(config: Config = Config) -> Flask:
app.register_blueprint(auth_blueprint, url_prefix='/') app.register_blueprint(auth_blueprint, url_prefix='/')
from .contributions import bp as contributions_blueprint 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') app.register_blueprint(contributions_blueprint, url_prefix='/contributions')
from .corpora import bp as corpora_blueprint from .corpora import bp as corpora_blueprint
......
...@@ -5,7 +5,7 @@ from . import bp ...@@ -5,7 +5,7 @@ from . import bp
@bp.route('') @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 @login_required
def contributions(): def contributions():
return redirect(url_for('main.dashboard', _anchor='contributions')) return redirect(url_for('main.dashboard', _anchor='contributions'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment