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