engine/config/routes.rb in good_job-2.7.4 vs engine/config/routes.rb in good_job-2.8.0
- old
+ new
@@ -1,22 +1,25 @@
# frozen_string_literal: true
GoodJob::Engine.routes.draw do
root to: 'executions#index'
- resources :cron_entries, only: %i[index show] do
- member do
- post :enqueue
- end
- end
+ resources :executions, only: %i[destroy]
resources :jobs, only: %i[index show] do
member do
put :discard
put :reschedule
put :retry
end
end
- resources :executions, only: %i[destroy]
+
+ resources :cron_entries, only: %i[index show] do
+ member do
+ post :enqueue
+ end
+ end
+
+ resources :processes, only: %i[index]
scope controller: :assets do
constraints(format: :css) do
get :bootstrap, action: :bootstrap_css
get :style, action: :style_css