Sha256: 73981ae5e8fbbaaa1004559aa1764b8d934fc808af6a5fef96b94d030d499eaa

Contents?: true

Size: 792 Bytes

Versions: 5

Compression:

Stored size: 792 Bytes

Contents

Rails.application.routes.draw do
  resources(:scheduled_tasks) do
    as_routes
    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/running', to: 'tasks_scheduler_daemon#running',
                                         as: :running_tasks_scheduler_daemon
  get '/tasks_scheduler_daemon/download_log', 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.1.0 config/routes.rb
tasks_scheduler-0.0.10 config/routes.rb
tasks_scheduler-0.0.9 config/routes.rb
tasks_scheduler-0.0.8 config/routes.rb
tasks_scheduler-0.0.7 config/routes.rb