summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index 63e55cf..fa47523 100755
--- a/bottle.py
+++ b/bottle.py
@@ -4283,7 +4283,7 @@ def view(tpl_name, **defaults):
tplvars.update(result)
return template(tpl_name, **tplvars)
elif result is None:
- return template(tpl_name, defaults)
+ return template(tpl_name, **defaults)
return result
return wrapper