Class: Admin::ReferencesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/admin/references_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



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