diff options
Diffstat (limited to 'examples/rest_pastebin/src')
-rw-r--r-- | examples/rest_pastebin/src/toppage_handler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_pastebin/src/toppage_handler.erl b/examples/rest_pastebin/src/toppage_handler.erl index 89fd786..80974fe 100644 --- a/examples/rest_pastebin/src/toppage_handler.erl +++ b/examples/rest_pastebin/src/toppage_handler.erl @@ -17,7 +17,7 @@ init(Req, Opts) -> random:seed(now()), - {rest, Req, Opts}. + {cowboy_rest, Req, Opts}. allowed_methods(Req, State) -> {[<<"GET">>, <<"POST">>], Req, State}. |