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