method
render_down
v8.1.1 -
Show latest stable
- Class:
Rails::HealthController
render_down()private
No documentation available.
# File railties/lib/rails/health_controller.rb, line 52
def render_down
respond_to do |format|
format.html { render html: html_status(color: "red"), status: 500 }
format.json { render json: { status: "down", timestamp: Time.current.iso8601 }, status: 500 }
end
end