diff options
Diffstat (limited to 'test/http_SUITE_data/rest_postonly_resource.erl')
-rw-r--r-- | test/http_SUITE_data/rest_postonly_resource.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE_data/rest_postonly_resource.erl b/test/http_SUITE_data/rest_postonly_resource.erl index 9b14b24..942e55d 100644 --- a/test/http_SUITE_data/rest_postonly_resource.erl +++ b/test/http_SUITE_data/rest_postonly_resource.erl @@ -6,7 +6,7 @@ -export([from_text/2]). init(Req, Opts) -> - {rest, Req, Opts}. + {cowboy_rest, Req, Opts}. allowed_methods(Req, State) -> {[<<"POST">>], Req, State}. |