Skip to content
Browse files

Add a working return code to resource 404 handler

  • Loading branch information...
1 parent a0e462e commit b104c27fa2b117d4cd700ded7e0946790ee5d348 @lafka committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/rw_resource/src/fallback_handler.erl
View
2 examples/rw_resource/src/fallback_handler.erl
@@ -15,5 +15,5 @@ methods(_Req) ->
['HEAD', 'GET', 'POST', 'PUT', 'PATCH'].
handle_404(Req, State) ->
- {'Not Found', Req, State, [{error, [{message, <<"resource not found">>}, {code, 404]}.
+ {'Not Found', Req, State, [{error, [{message, <<"resource not found">>}, {code, 404}]}]}.

0 comments on commit b104c27

Please sign in to comment.
Something went wrong with that request. Please try again.