Class: Admin::ReferencesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Admin::ReferencesController
- Defined in:
- app/controllers/admin/references_controller.rb
Instance Attribute Summary
Attributes inherited from ApplicationController
#cache, #pagination_parameters, #trusty_config
Instance Method Summary collapse
Methods inherited from ApplicationController
#after_sign_in_path_for, #initialize, #template_name
Methods included from LoginSystem
Constructor Details
This class inherits a constructor from ApplicationController
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 |