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