engine/config/routes.rb in good_job-2.4.2 vs engine/config/routes.rb in good_job-2.5.0
- old
+ new
@@ -1,9 +1,15 @@
# frozen_string_literal: true
GoodJob::Engine.routes.draw do
root to: 'executions#index'
resources :cron_schedules, only: %i[index]
- resources :jobs, only: %i[index show]
+ resources :jobs, only: %i[index show] do
+ member do
+ put :discard
+ put :reschedule
+ put :retry
+ end
+ end
resources :executions, only: %i[destroy]
scope controller: :assets do
constraints(format: :css) do
get :bootstrap, action: :bootstrap_css