instance method
render_down
Ruby on Rails 8.1.2
Since v7.1.6 PrivateSignature
render_down()
No documentation comment.
Source
# 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
Defined in railties/lib/rails/health_controller.rb line 52
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::HealthController