config/routes.rb in good_job-4.7.0 vs config/routes.rb in good_job-4.8.0
- old
+ new
@@ -33,9 +33,15 @@
end
end
resources :processes, only: %i[index]
resources :performance, only: %i[index show]
+ resources :pauses, only: %i[index] do
+ collection do
+ post :create
+ delete :destroy
+ end
+ end
resources :cleaner, only: %i[index]
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