aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_stream_response/src/toppage_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rest_stream_response/src/toppage_handler.erl')
-rw-r--r--examples/rest_stream_response/src/toppage_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_stream_response/src/toppage_handler.erl b/examples/rest_stream_response/src/toppage_handler.erl
index 6c66d21..61f5ab9 100644
--- a/examples/rest_stream_response/src/toppage_handler.erl
+++ b/examples/rest_stream_response/src/toppage_handler.erl
@@ -8,7 +8,7 @@
-export([streaming_csv/2]).
init(Req, Table) ->
- {rest, Req, Table}.
+ {cowboy_rest, Req, Table}.
content_types_provided(Req, State) ->
{[