Sha256: f18d5145044e5d61b5f6b0043e1a8d9f696d6016ced6e4853a8e4cf9211e5db2
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true module Panoptic class Jobs::ScheduledController < ApplicationController layout "panoptic/jobs" def index # TODO: use the `scheduled` scope available in SolidQueue next release @pagy, @jobs = pagy( SolidQueue::Job.joins(:scheduled_execution).order(scheduled_at: :asc) ) render "panoptic/jobs/index" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
panoptic-0.5.0 | app/controllers/panoptic/jobs/scheduled_controller.rb |
panoptic-0.4.2 | app/controllers/panoptic/jobs/scheduled_controller.rb |