aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_hello_world/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rest_hello_world/src')
-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) ->
{[