diff --git a/sapl/base/templatetags/menus.py b/sapl/base/templatetags/menus.py index e5b6b80d7..d15368553 100644 --- a/sapl/base/templatetags/menus.py +++ b/sapl/base/templatetags/menus.py @@ -76,7 +76,7 @@ def nav_run(context, path=None): return try: - rendered = yaml_template.render() + rendered = yaml_template.render(context, request) menu = yaml.load(rendered) resolve_urls_inplace(menu, root_pk, rm, context) except Exception as e: