aboutsummaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
parentd3dcaf109b225b1384fad5b17dbae9c4888c40ea (diff)
downloadcowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.tar.gz
cowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.tar.bz2
cowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.zip
Rename cowboy_http_rest to cowboy_rest
Diffstat (limited to 'examples')
-rw-r--r--examples/rest_hello_world/src/toppage_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_hello_world/src/toppage_handler.erl b/examples/rest_hello_world/src/toppage_handler.erl
index 8ee1904..c41cf91 100644
--- a/examples/rest_hello_world/src/toppage_handler.erl
+++ b/examples/rest_hello_world/src/toppage_handler.erl
@@ -10,7 +10,7 @@
-export([hello_to_text/2]).
init(_Transport, _Req, []) ->
- {upgrade, protocol, cowboy_http_rest}.
+ {upgrade, protocol, cowboy_rest}.
content_types_provided(Req, State) ->
{[