mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +00:00
fix
This commit is contained in:
parent
6e9a6fa5a1
commit
0520caeddd
@ -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
|
|||||||
|
|
||||||
|
|
||||||
@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'))
|
||||||
|
Loading…
Reference in New Issue
Block a user