Module: Sufia::SingularSubresourceController

Extended by:
ActiveSupport::Concern
Includes:
DenyAccessOverrideBehavior
Included in:
CitationsController, StatsController
Defined in:
app/controllers/concerns/sufia/singular_subresource_controller.rb

Instance Method Summary collapse

Methods included from DenyAccessOverrideBehavior

#deny_access

Instance Method Details

#find_workObject



11
12
13
# File 'app/controllers/concerns/sufia/singular_subresource_controller.rb', line 11

def find_work
  @work = CurationConcerns::WorkRelation.new.find(params[:id])
end