|
|
@ -11,6 +11,10 @@ import flask_login
|
|
|
|
def index():
|
|
|
|
def index():
|
|
|
|
return flask.redirect(flask.url_for('.user_settings'))
|
|
|
|
return flask.redirect(flask.url_for('.user_settings'))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ui.route('/ui/')
|
|
|
|
|
|
|
|
def redirect_old_path():
|
|
|
|
|
|
|
|
return flask.redirect(flask.url_for('.index'), code=301)
|
|
|
|
|
|
|
|
|
|
|
|
@ui.route('/announcement', methods=['GET', 'POST'])
|
|
|
|
@ui.route('/announcement', methods=['GET', 'POST'])
|
|
|
|
@access.global_admin
|
|
|
|
@access.global_admin
|
|
|
|
def announcement():
|
|
|
|
def announcement():
|
|
|
|