aboutsummaryrefslogtreecommitdiffstats
path: root/test/rest_simple_resource.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-27 13:39:59 +0200
committerLoïc Hoguin <[email protected]>2012-08-27 13:39:59 +0200
commit6d84afd16d214c7e07d9f55e633dbcb0032473bc (patch)
treefcffa83add64d52f45746a9cf1e0f05c138b27ce /test/rest_simple_resource.erl
parentd3dcaf109b225b1384fad5b17dbae9c4888c40ea (diff)
downloadcowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.tar.gz
cowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.tar.bz2
cowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.zip
Rename cowboy_http_rest to cowboy_rest
Diffstat (limited to 'test/rest_simple_resource.erl')
-rw-r--r--test/rest_simple_resource.erl2
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}.