Class: CommonObjectsController

Inherits:
ApplicationController
  • Object
show all
Includes:
Hydra::Controller::ControllerBehavior, Sufia::Noid
Defined in:
app/controllers/common_objects_controller.rb

Instance Method Summary collapse

Instance Method Details

#curation_concernObject



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

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

#showObject



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

def show
  respond_with(curation_concern)
end

#show_stub_informationObject



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

def show_stub_information
  respond_with(curation_concern)
end