From 6d84afd16d214c7e07d9f55e633dbcb0032473bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Aug 2012 13:39:59 +0200 Subject: Rename cowboy_http_rest to cowboy_rest --- test/rest_simple_resource.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rest_simple_resource.erl') diff --git a/test/rest_simple_resource.erl b/test/rest_simple_resource.erl index e2c573c..97145dd 100644 --- a/test/rest_simple_resource.erl +++ b/test/rest_simple_resource.erl @@ -2,7 +2,7 @@ -export([init/3, content_types_provided/2, get_text_plain/2]). init(_Transport, _Req, _Opts) -> - {upgrade, protocol, cowboy_http_rest}. + {upgrade, protocol, cowboy_rest}. content_types_provided(Req, State) -> {[{{<<"text">>, <<"plain">>, []}, get_text_plain}], Req, State}. -- cgit v1.2.3