Sha256: 451a02fd9718170dd518dc522c1e6f28d6deeb5f6e5d6744e39af313c602d3f6

Contents?: true

Size: 850 Bytes

Versions: 8

Compression:

Stored size: 850 Bytes

Contents

# frozen_string_literal: true

Rails.application.routes.draw do
  resources(:scheduled_tasks, concerns: active_scaffold) do
    collection do
      get :status
      get :status_content
    end
    member do
      get :log
      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

8 entries across 8 versions & 1 rubygems

Version Path
tasks_scheduler-0.8.0 config/routes.rb
tasks_scheduler-0.7.0 config/routes.rb
tasks_scheduler-0.6.13 config/routes.rb
tasks_scheduler-0.6.12 config/routes.rb
tasks_scheduler-0.6.11 config/routes.rb
tasks_scheduler-0.6.10 config/routes.rb
tasks_scheduler-0.6.9 config/routes.rb
tasks_scheduler-0.6.8 config/routes.rb