diff --git a/bp/orders/routes.py b/bp/orders/routes.py index fad7bcd..de8cc35 100644 --- a/bp/orders/routes.py +++ b/bp/orders/routes.py @@ -25,6 +25,18 @@ def register(url_prefix: str) -> Blueprint: ) ORDERS_PER_PAGE = 10 # keep in sync with browse page size / your preference + oob = { + "extends": "_types/root/_index.html", + "child_id": "auth-header-child", + "header": "_types/auth/header/_header.html", + "nav": "_types/auth/_nav.html", + "main": "_types/auth/_main_panel.html", + } + + @bp.context_processor + def inject_oob(): + return {"oob": oob} + @bp.before_request def route(): # this is the crucial bit for the |qs filter