Class: Flightdeck::JobsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Flightdeck::JobsController
- Defined in:
- app/controllers/flightdeck/jobs_controller.rb
Constant Summary
Constants inherited from ApplicationController
ApplicationController::UNCONFIGURED_MESSAGE
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
8 9 10 11 12 13 |
# File 'app/controllers/flightdeck/jobs_controller.rb', line 8 def index @query = JobsQuery.new(**list_filters, state: state_param, before_id: params[:before_id]) @rows = @query.rows @state_counts = JobsQuery.state_counts(**list_filters) @groups = GroupedFailures.build(@rows) if state_param == :failed && group_failures? end |