Class: GoodJob::BatchesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- GoodJob::BatchesController
- Defined in:
- app/controllers/good_job/batches_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/good_job/batches_controller.rb', line 5 def index @filter = BatchesFilter.new(params) end |
#retry ⇒ Object
13 14 15 16 17 |
# File 'app/controllers/good_job/batches_controller.rb', line 13 def retry @batch = GoodJob::Batch.find(params[:id]) @batch.retry redirect_back(fallback_location: batches_path, notice: t(".notice")) end |
#show ⇒ Object
9 10 11 |
# File 'app/controllers/good_job/batches_controller.rb', line 9 def show @batch = GoodJob::BatchRecord.find(params[:id]) end |