Sha256: 1e95a763ed107f7e1ccf861131752bef9aa24359bc8043c9f63ada43ff9da522

Contents?: true

Size: 193 Bytes

Versions: 4

Compression:

Stored size: 193 Bytes

Contents

# frozen_string_literal: true

module Panoptic
  class JobsController < ApplicationController
    def index
      @pagy, @jobs = pagy(SolidQueue::Job.order(created_at: :asc))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
panoptic-0.4.1 app/controllers/panoptic/jobs_controller.rb
panoptic-0.4.0 app/controllers/panoptic/jobs_controller.rb
panoptic-0.3.0 app/controllers/panoptic/jobs_controller.rb
panoptic-0.2.0 app/controllers/panoptic/jobs_controller.rb