diff options
Diffstat (limited to 'examples/rest_hello_world')
-rw-r--r-- | examples/rest_hello_world/src/toppage_handler.erl | 2 |
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 5b0dfc8..7657281 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(Req, Opts) -> - {rest, Req, Opts}. + {cowboy_rest, Req, Opts}. content_types_provided(Req, State) -> {[ |