config/routes.rb in tasks_scheduler-0.8.0 vs config/routes.rb in tasks_scheduler-0.9.0

- old
+ new

@@ -1,14 +1,17 @@ # frozen_string_literal: true Rails.application.routes.draw do - resources(:scheduled_tasks, concerns: active_scaffold) do + resources(:scheduled_task_statuses, only: [:index]) do collection do - get :status get :status_content end member do get :log + end + end + resources(:scheduled_tasks, concerns: active_scaffold) do + member do put :run_now end end get '/tasks_scheduler_daemon', to: 'tasks_scheduler_daemon#index', as: :tasks_scheduler_daemon post '/tasks_scheduler_daemon/:tasks_scheduler_execute_action',