aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/net/http/route.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/world/net/http/route.lux')
-rw-r--r--stdlib/source/library/lux/world/net/http/route.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/world/net/http/route.lux b/stdlib/source/library/lux/world/net/http/route.lux
index ec935d71e..b4f31b525 100644
--- a/stdlib/source/library/lux/world/net/http/route.lux
+++ b/stdlib/source/library/lux/world/net/http/route.lux
@@ -16,7 +16,7 @@
["[1][0]" status]
["[1][0]" response]])
-(template [<scheme> <name>]
+(with_template [<scheme> <name>]
[(def: .public (<name> server)
(-> Server Server)
(function (_ (^.let request [identification protocol resource message]))
@@ -31,7 +31,7 @@
[//.#HTTPS https]
)
-(template [<method> <name>]
+(with_template [<method> <name>]
[(def: .public (<name> server)
(-> Server Server)
(function (_ (^.let request [identification protocol resource message]))