config/routes.rb in good_job-4.1.1 vs config/routes.rb in good_job-4.2.0

- old
+ new

@@ -17,11 +17,15 @@ end end get 'jobs/metrics/primary_nav', to: 'metrics#primary_nav', as: :metrics_primary_nav get 'jobs/metrics/job_status', to: 'metrics#job_status', as: :metrics_job_status - resources :batches, only: %i[index show] + resources :batches, only: %i[index show] do + member do + put :retry + end + end resources :cron_entries, only: %i[index show], param: :cron_key do member do post :enqueue put :enable @@ -33,8 +37,8 @@ resources :performance, only: %i[index show] scope :frontend, controller: :frontends, defaults: { version: GoodJob::VERSION.tr(".", "-") } do get "modules/:version/:id", action: :module, as: :frontend_module, constraints: { format: 'js' } - get "static/:version/:id", action: :static, as: :frontend_static, constraints: { format: %w[css js svg] } + get "static/:version/:id", action: :static, as: :frontend_static end end