提交 da5acae0 编写于 作者: J Jorge Bejar

Avoid warning because of the mime type

上级 84e8accd
......@@ -111,7 +111,7 @@ def render_for_api_application(request, wrapper)
format = content_type
else
formatted_body = body.to_json
format = Mime::JSON
format = Mime[:json]
end
render(wrapper.status_code, formatted_body, format)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册