Skip to content

Commit

Permalink
Removed debug stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaertig committed Aug 28, 2014
1 parent cbb2132 commit 81b0de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roar/rails/controller_additions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class UnsupportedMediaType < StandardError #:nodoc:
def consume!(model, options={})
content_type = request.content_type
if content_type.nil?
raise UnsupportedMediaType.new("Cannot consume input without content type.#{request.inspect}")
raise UnsupportedMediaType.new("Cannot consume input without content type.")
end

format = Mime::Type.lookup(content_type).try(:symbol)
Expand Down

0 comments on commit 81b0de4

Please sign in to comment.