Class: InfoController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- InfoController
- Defined in:
- app/controllers/info_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/controllers/info_controller.rb', line 8 def show if Info.configuration.enabled render json: Info.collect(request) else render nothing: true end end |