config/routes.rb in tasks_scheduler-0.5.2 vs config/routes.rb in tasks_scheduler-0.5.3
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
Rails.application.routes.draw do
- resources(:scheduled_tasks) do
- as_routes
+ concern :active_scaffold, ActiveScaffold::Routing::Basic.new(association: true)
+ resources(:scheduled_tasks, concerns: :active_scaffold) do
collection do
get :status
get :status_content
end
member do