Module: Hyrax::SingularSubresourceController

Extended by:
ActiveSupport::Concern
Includes:
DenyAccessOverrideBehavior
Included in:
Admin::Analytics::AnalyticsController, 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



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

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