Class: Hyrax::Admin::WorkflowsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/hyrax/admin/workflows_controller.rb

Overview

Presents a list of works in workflow

Defined Under Namespace

Classes: WorkflowResponse

Instance Method Summary collapse

Instance Method Details

#indexObject



13
14
15
16
17
18
19
20
# File 'app/controllers/hyrax/admin/workflows_controller.rb', line 13

def index
  add_breadcrumb t(:'hyrax.controls.home'), root_path
  add_breadcrumb t(:'hyrax.dashboard.breadcrumbs.admin'), hyrax.dashboard_path
  add_breadcrumb t(:'hyrax.admin.sidebar.tasks'), '#'
  add_breadcrumb t(:'hyrax.admin.sidebar.workflow_review'), request.path
  assign_action_objects_params
  @response = WorkflowResponse.new(actionable_objects.to_a, actionable_objects.total_count, current_page, per_page, under_review?)
end