Class: Admin::ReferencesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Admin::ReferencesController
- Defined in:
- app/controllers/admin/references_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
2 3 4 5 6 7 |
# File 'app/controllers/admin/references_controller.rb', line 2 def show respond_to do |format| render_allowed_type(params[:type]) format.any { render action: @type, content_type: 'text/html', layout: false } end end |