Permalink
Browse files

Bug fix in ErrorWrapper

  • Loading branch information...
1 parent 83ee533 commit 060aa9d3fcd10b2ef77690007fe373c621d03382 @arsduo committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/batch_api/error_wrapper.rb
@@ -27,7 +27,7 @@ def body
#
# Returns: an Array with the error body represented as JSON.
def render
- [status_code, Middleware.content_type, [MultiJson.dump(body)]]
+ [status_code, RackMiddleware.content_type, [MultiJson.dump(body)]]
end
# Public: the status code to return for the given error.

0 comments on commit 060aa9d

Please sign in to comment.