aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorEric Sagnes <[email protected]>2014-09-21 13:09:40 +0900
committerEric Sagnes <[email protected]>2014-09-24 08:13:04 +0900
commitfb891a741956b2edb8a23e78c853d71440bccacc (patch)
tree66c21ad039eb18341a3db79ba72108a48f12a2f5 /erlang.mk
parentc1fb807f2e687d044175ba00aa4baacb41a30aae (diff)
downloaderlang.mk-fb891a741956b2edb8a23e78c853d71440bccacc.tar.gz
erlang.mk-fb891a741956b2edb8a23e78c853d71440bccacc.tar.bz2
erlang.mk-fb891a741956b2edb8a23e78c853d71440bccacc.zip
Fix for the cowboy_rest template
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index 12c2502..4d4d138 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -421,7 +421,7 @@ tpl_cowboy_rest = "-module($(n))." \
" {upgrade, protocol, cowboy_rest}." \
"" \
"content_types_provided(Req, State) ->" \
- " {[{{<<\"text\">>, <<\"html\">>, '_'}, get_html}], Req, State}." \
+ " {[{{<<\"text\">>, <<\"html\">>, '*'}, get_html}], Req, State}." \
"" \
"get_html(Req, State) ->" \
" {<<\"<html><body>This is REST!</body></html>\">>, Req, State}."