Class: AssetsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AssetsController
- Defined in:
- app/controllers/assets_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/controllers/assets_controller.rb', line 5 def index if format_defined? render render_assets else render text: 'Undefined format', status: 500 end end |