Browse Source

Disp context e Request para render de template de menus yaml

pull/1698/head
Leandro Roberto da Silva 7 years ago
committed by GitHub
parent
commit
16230c59bf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl/base/templatetags/menus.py

2
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:

Loading…
Cancel
Save