Module: Tasks::SetDescriptorsHandler
- Included in:
- WorkflowsController
- Defined in:
- app/models/tasks/set_descriptors_handler.rb
Defined Under Namespace
Classes: Handler
Instance Method Summary collapse
Instance Method Details
#render_set_descriptors_task(_task, params) ⇒ Object
83 84 85 86 87 88 89 |
# File 'app/models/tasks/set_descriptors_handler.rb', line 83 def render_set_descriptors_task(_task, params) @batch = Batch.includes(:requests, :pipeline, :lab_events).find(params[:batch_id]) @rits = @batch.pipeline.request_information_types @requests = @batch.ordered_requests @workflow = Workflow.includes(:tasks).find(params[:workflow_id]) @task = @workflow.tasks[params[:id].to_i] end |