mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
12 lines
361 B
Python
12 lines
361 B
Python
from flask import redirect, url_for
|
|
from flask_breadcrumbs import register_breadcrumb
|
|
from flask_login import login_required
|
|
from . import bp
|
|
|
|
|
|
@bp.route('')
|
|
@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'))
|