aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-07-22 05:21:05 +0200
committerLoïc Hoguin <[email protected]>2012-07-22 05:21:05 +0200
commitbab62900dd2030e15d4b8150c1214ac76aca2f25 (patch)
treea6a680f09ad67969a9d36a6f0eaa334d03b8d005 /src
parentadc363919c7b21ceb43625af37c933b002e1c7e8 (diff)
downloadcowboy-bab62900dd2030e15d4b8150c1214ac76aca2f25.tar.gz
cowboy-bab62900dd2030e15d4b8150c1214ac76aca2f25.tar.bz2
cowboy-bab62900dd2030e15d4b8150c1214ac76aca2f25.zip
Remove an useless todo
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_http_rest.erl1
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).