Sha256: d797b0c2ebe67b0a13cd7f593ab443aefe7a679f58279ca663a3f69f8e7dc432
Contents?: true
Size: 352 Bytes
Versions: 1
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true module Panoptic class Jobs::FailedController < ApplicationController def index # TODO: use the `failed` scope available in SolidQueue next release @pagy, @jobs = pagy( SolidQueue::Job.joins(:failed_execution).order(created_at: :asc) ) render "panoptic/jobs/index" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
panoptic-0.2.0 | app/controllers/panoptic/jobs/failed_controller.rb |