Class: MissionControl::Jobs::JobsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- MissionControl::Jobs::JobsController
- Includes:
- JobFilters, JobScoped
- Defined in:
- app/controllers/mission_control/jobs/jobs_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/controllers/mission_control/jobs/jobs_controller.rb', line 6 def index @job_class_names = jobs_with_status.job_class_names @queue_names = ActiveJob.queues.map(&:name) @jobs_page = MissionControl::Jobs::Page.new(filtered_jobs_with_status, page: params[:page].to_i) @jobs_count = @jobs_page.total_count end |
#show ⇒ Object
14 15 |
# File 'app/controllers/mission_control/jobs/jobs_controller.rb', line 14 def show end |