mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 19:34:19 +00:00
485a0155c6
- breadcrumbs (!flask-breadcrumbs) - manual modal button - api blueprint (!flask-marshmallow/!marshmallow-sqlalchemy)
11 lines
321 B
Python
11 lines
321 B
Python
from flask import g, url_for
|
|
from flask_login import current_user
|
|
from app.users.settings.routes import settings as settings_route
|
|
from . import bp
|
|
|
|
|
|
@bp.route('/settings', methods=['GET', 'POST'])
|
|
def settings():
|
|
g._nopaque_redirect_location_on_post = url_for('.settings')
|
|
return settings_route(current_user.id)
|