diff options
Diffstat (limited to 'test/rest_simple_resource.erl')
-rw-r--r-- | test/rest_simple_resource.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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}. |