diff --git a/core/admin/mailu/ui/views/base.py b/core/admin/mailu/ui/views/base.py index 01e168a1..9b7614e1 100644 --- a/core/admin/mailu/ui/views/base.py +++ b/core/admin/mailu/ui/views/base.py @@ -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():