From bab62900dd2030e15d4b8150c1214ac76aca2f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 22 Jul 2012 05:21:05 +0200 Subject: Remove an useless todo --- src/cowboy_http_rest.erl | 1 - 1 file changed, 1 deletion(-) 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). -- cgit v1.2.3