diff --git a/app/blueprints/threads/__init__.py b/app/blueprints/threads/__init__.py index 8cfa14a..16242b3 100644 --- a/app/blueprints/threads/__init__.py +++ b/app/blueprints/threads/__init__.py @@ -13,13 +13,12 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . - - from flask import * bp = Blueprint("threads", __name__) from flask_login import current_user, login_required +from app import menu from app.models import * from app.utils import addNotification, isYes, addAuditLog from flask_wtf import FlaskForm @@ -27,7 +26,7 @@ from wtforms import * from wtforms.validators import * from app.utils import get_int_or_abort - +@menu.register_menu(bp, ".threads", "Threads", order=20) @bp.route("/threads/") def list_all(): query = Thread.query