Skip to content

Commit

Permalink
Bug fix in ErrorWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
arsduo committed Oct 5, 2012
1 parent 83ee533 commit 060aa9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/batch_api/error_wrapper.rb
Expand Up @@ -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.
Expand Down

0 comments on commit 060aa9d

Please sign in to comment.