Sha256: 0e33d125eed89bead7ee362b94f2699af30c6c8db558469009d4dc5630ed4afe
Contents?: true
Size: 420 Bytes
Versions: 11
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true module GoodJob class BatchesController < GoodJob::ApplicationController def index @filter = BatchesFilter.new(params) end def show @batch = GoodJob::BatchRecord.find(params[:id]) end def retry @batch = GoodJob::Batch.find(params[:id]) @batch.retry redirect_back(fallback_location: batches_path, notice: t(".notice")) end end end
Version data entries
11 entries across 11 versions & 1 rubygems