engine/config/routes.rb in good_job-2.5.0 vs engine/config/routes.rb in good_job-2.6.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 :cron_entries, only: %i[index show] do
+ member do
+ post :enqueue
+ end
+ end
+
resources :jobs, only: %i[index show] do
member do
put :discard
put :reschedule
put :retry
@@ -18,9 +24,10 @@
get :style, action: :style_css
end
constraints(format: :js) do
get :bootstrap, action: :bootstrap_js
+ get :rails_ujs, action: :rails_ujs_js
get :chartist, action: :chartist_js
end
end
end