method
render
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::DebugExceptions
render(status, body, format)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 130
def render(status, body, format)
[status, { "Content-Type" => "#{format}; charset=#{Response.default_charset}", "Content-Length" => body.bytesize.to_s }, [body]]
end