Module: Hyrax::SingularSubresourceController

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

Instance Method Summary collapse

Methods included from DenyAccessOverrideBehavior

#deny_access

Instance Method Details

#find_workObject


12
13
14
# File 'app/controllers/concerns/hyrax/singular_subresource_controller.rb', line 12

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