Class: Admin::Fabulator::ExhibitsController

Inherits:
ResourceController
  • Object
show all
Defined in:
app/controllers/admin/fabulator/exhibits_controller.rb

Instance Method Summary collapse

Instance Method Details

#model_classObject



9
10
11
# File 'app/controllers/admin/fabulator/exhibits_controller.rb', line 9

def model_class
  FabulatorExhibit
end

#showObject



13
14
15
16
17
18
# File 'app/controllers/admin/fabulator/exhibits_controller.rb', line 13

def show
  respond_to do |format|
    format.xml { super }
    format.html { redirect_to edit_admin_fabulator_exhibits_path(params[:id]) }
  end
end