Class: Hyrax::Admin::WorkflowsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Hyrax::Admin::WorkflowsController
- Defined in:
- app/controllers/hyrax/admin/workflows_controller.rb
Overview
Presents a list of works in workflow
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'app/controllers/hyrax/admin/workflows_controller.rb', line 7 def index t(:'hyrax.controls.home'), root_path t(:'hyrax.toolbar.admin.menu'), hyrax.admin_path t(:'hyrax.admin.sidebar.tasks'), '#' t(:'hyrax.admin.sidebar.workflow_review'), request.path @status_list = Hyrax::Workflow::StatusListService.new(self, "-workflow_state_name_ssim:#{deposited_workflow_state_name}") @published_list = Hyrax::Workflow::StatusListService.new(self, "workflow_state_name_ssim:#{deposited_workflow_state_name}") end |