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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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: |
|
|
|