Module: Hyrax::InAdminSet

Extended by:
ActiveSupport::Concern
Included in:
WorkBehavior
Defined in:
app/models/concerns/hyrax/in_admin_set.rb

Instance Method Summary collapse

Instance Method Details

#active_workflowObject

Deprecated.

Use `Sipity::Workflow.find_active_workflow_for` instead.


12
13
14
15
# File 'app/models/concerns/hyrax/in_admin_set.rb', line 12

def active_workflow
  Deprecation.warn 'Use `Sipity::Workflow.find_active_workflow_for` instead.'
  Sipity::Workflow.find_active_workflow_for(admin_set_id: admin_set_id)
end