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
Instance Method Details
#find_work ⇒ Object
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 |