Sha256: ee1a522c4c7410bfe932f3de9cc2c5a0e0725be1c28bd9de98a2fce4f3deddb0

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tasks_scheduler-0.0.6 config/routes.rb
tasks_scheduler-0.0.5 config/routes.rb