Sha256: 3c9c1aa1fa5f17a6dc0b72084bca0cd1325ac21c1e7fddee5aaeb669e1ec860e

Contents?: true

Size: 917 Bytes

Versions: 5

Compression:

Stored size: 917 Bytes

Contents

# frozen_string_literal: true

Rails.application.routes.draw do
  resources(:scheduled_task_statuses, only: [:index]) do
    collection do
      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',
       to: 'tasks_scheduler_daemon#execute', as: :execute_tasks_scheduler_daemon
  get '/tasks_scheduler_daemon/status', to: 'tasks_scheduler_daemon#status',
                                        as: :status_tasks_scheduler_daemon
  get '/tasks_scheduler_daemon/download_log/:log_key', to: 'tasks_scheduler_daemon#download_log',
                                                       as: :download_log_tasks_scheduler_daemon
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tasks_scheduler-0.9.4 config/routes.rb
tasks_scheduler-0.9.3 config/routes.rb
tasks_scheduler-0.9.2 config/routes.rb
tasks_scheduler-0.9.1 config/routes.rb
tasks_scheduler-0.9.0 config/routes.rb