fix 2114: redirect old path

master
Florent Daigniere 3 years ago
parent 14177c3f98
commit c4675e6e75

@ -11,6 +11,10 @@ import flask_login
def index():
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'])
@access.global_admin
def announcement():

Loading…
Cancel
Save