Commit e390a2de authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix possible error in production

parent 4c9f3487
......@@ -7,4 +7,4 @@ register = template.Library()
@register.inclusion_tag('menu/menu.html', takes_context=True)
def render_main_menu(context):
return {'menu': main, 'request': context['request']}
return {'menu': main, 'request': context.get('request')}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment