Class: CommonObjectsController

Inherits:
ApplicationController show all
Includes:
Sufia::Noid
Defined in:
app/controllers/common_objects_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#show_action_bar?, #show_site_search?, #sufia, with_themed_layout

Instance Method Details

#curation_concernObject



8
9
10
# File 'app/controllers/common_objects_controller.rb', line 8

def curation_concern
  @curation_concern ||= ActiveFedora::Base.find(params[:id], cast: true)
end

#showObject



20
21
22
# File 'app/controllers/common_objects_controller.rb', line 20

def show
  respond_with(curation_concern)
end

#show_stub_informationObject



24
25
26
# File 'app/controllers/common_objects_controller.rb', line 24

def show_stub_information
  respond_with(curation_concern)
end