diff options
-rw-r--r-- | src/cowboy_http_rest.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cowboy_http_rest.erl b/src/cowboy_http_rest.erl index 463f76b..b37f20e 100644 --- a/src/cowboy_http_rest.erl +++ b/src/cowboy_http_rest.erl @@ -906,7 +906,6 @@ next(Req, State, Next) when is_function(Next) -> next(Req, State, StatusCode) when is_integer(StatusCode) -> respond(Req, State, StatusCode). -%% @todo Allow some sort of callback for custom error pages. respond(Req, State, StatusCode) -> {ok, Req2} = cowboy_http_req:reply(StatusCode, Req), terminate(Req2, State). |