From fb891a741956b2edb8a23e78c853d71440bccacc Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Sun, 21 Sep 2014 13:09:40 +0900 Subject: Fix for the cowboy_rest template --- erlang.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erlang.mk') 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) ->" \ " {<<\"This is REST!\">>, Req, State}." -- cgit v1.2.3