Class: AppStatus::StatusController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- AppStatus::StatusController
- Defined in:
- app/controllers/app_status/status_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/controllers/app_status/status_controller.rb', line 3 def index @checks = CheckCollection.new @checks.evaluate! respond_to do |format| format.json { render json: @checks.as_json} format.html end end |