Skip to content

Commit

Permalink
Fix handle_default_options to use a bound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lafka committed Feb 8, 2013
1 parent dc20929 commit 838b93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rest_module.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ terminate(_Reason, Req, State) ->

-spec handle_default_options(_, #tavern{}) -> {Status :: atom(), _, #tavern{}, binary()}.
handle_default_options(Req, #tavern{allowed_methods = Methods} = State) ->
{'No Content', Req2, State, <<>>}.
{'No Content', Req, State, <<>>}.

0 comments on commit 838b93d

Please sign in to comment.