Class: Ishapi::ApiController
- Inherits:
-
UnrestrictedController
- Object
- ActionController::Base
- UnrestrictedController
- Ishapi::ApiController
- Defined in:
- app/controllers/ishapi/api_controller.rb
Instance Method Summary collapse
Instance Method Details
#home ⇒ Object
6 7 8 9 10 |
# File 'app/controllers/ishapi/api_controller.rb', line 6 def home :welcome_home, Ishapi render :json => { :status => :ok, :message => 'Ishapi::ApiController.home', :n_reports => Report.count, :n_cities => City.count } end |