summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index 2266801..ed3076c 100644
--- a/bottle.py
+++ b/bottle.py
@@ -3682,7 +3682,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
return decorator