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 --- plugins/bootstrap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/bootstrap.mk') diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk index c3615be..084cde3 100644 --- a/plugins/bootstrap.mk +++ b/plugins/bootstrap.mk @@ -162,7 +162,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