Skip to content

Commit

Permalink
[#24] Changed content_types_provided to text/plain
Browse files Browse the repository at this point in the history
  • Loading branch information
davecaos committed Jun 30, 2015
1 parent 7d06957 commit f655e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/example_default.erl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ content_types_accepted(Req, State) ->
{[{<<"text/plain">>, HandleMethod}], Req1, State}.

content_types_provided(Req, State) ->
{[{{<<"application">>, <<"erlang">>, []}, handle_get}], Req, State}.
{[{{<<"application">>, <<"text/plain">>, []}, handle_get}], Req, State}.

forbidden(Req, State) ->
{false, Req, State}.
Expand Down

0 comments on commit f655e65

Please sign in to comment.