diff --git a/src/wuttaweb/subscribers.py b/src/wuttaweb/subscribers.py index 314922b..eea26d2 100644 --- a/src/wuttaweb/subscribers.py +++ b/src/wuttaweb/subscribers.py @@ -142,6 +142,9 @@ def before_render(event): context['url'] = request.route_url context['json'] = json + # TODO: this should be avoided somehow, for non-traditional web + # apps, esp. "API" web apps. (in the meantime can configure the + # app to use NullMenuHandler which avoids most of the overhead.) menus = web.get_menu_handler() context['menus'] = menus.do_make_menus(request)