Method: Flame::Dispatcher#default_body
- Defined in:
- lib/flame/dispatcher.rb
#default_body ⇒ Object
Generate default body of error page
140 141 142 143 |
# File 'lib/flame/dispatcher.rb', line 140 def default_body # response.headers[Rack::CONTENT_TYPE] = 'text/html' "<h1>#{Rack::Utils::HTTP_STATUS_CODES[status]}</h1>" end |