Fix bug where routes using templates couldn't redirect

This commit is contained in:
2017-11-20 23:49:13 +01:00
parent 6a957330a8
commit 74f1c4913a
+3
View File
@@ -115,6 +115,9 @@ def mergeTemplate(path):
objects = await func(*args, **kwargs)
if type(objects) is response.HTTPResponse:
return objects
objects.update({
"strip_unit": strip_unit,
"escape_html": escape_html,