Sha256: f3f665b9b3c0cc61f58ad0f44c6731986627eb1c39a70fb5c13244e624c2be80

Contents?: true

Size: 348 Bytes

Versions: 12

Compression:

Stored size: 348 Bytes

Contents

class MissionControl::Jobs::RetriesController < MissionControl::Jobs::ApplicationController
  include MissionControl::Jobs::JobScoped

  def create
    @job.retry
    redirect_to application_jobs_url(@application, :failed), notice: "Retried job with id #{@job.job_id}"
  end

  private
    def jobs_relation
      ActiveJob.jobs.failed
    end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mission_control-jobs-1.0.1 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-1.0.0 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.6.0 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.5.0 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.4.0 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.3.3 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.3.2 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.3.1 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.3.0 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.2.2 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.2.1 app/controllers/mission_control/jobs/retries_controller.rb
mission_control-jobs-0.2.0 app/controllers/mission_control/jobs/retries_controller.rb