Sha256: 0be500a09c6b755bd481f212ad02b767329d8a1474288e4d3da3ba0c674994bb

Contents?: true

Size: 220 Bytes

Versions: 1

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

module Panoptic
  class JobsController < ApplicationController
    include Pagy::Backend

    def index
      @pagy, @jobs = pagy(SolidQueue::Job.order(created_at: :asc))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panoptic-0.1.3 app/controllers/panoptic/jobs_controller.rb