method
render
v3.1.0 -
Show latest stable
- Class:
ActionDispatch::ShowExceptions
render(status, body)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/show_exceptions.rb, line 118
def render(status, body)
[status, {'Content-Type' => "text/html; charset=#{Response.default_charset}", 'Content-Length' => body.bytesize.to_s}, [body]]
end