Sha256: c4bb071a3383272857c7321f6a53ee880831e5135d39c93dabf94bd1b4bff340
Contents?: true
Size: 900 Bytes
Versions: 2
Compression:
Stored size: 900 Bytes
Contents
MissionControl::Jobs::Engine.routes.draw do resources :applications, only: [] do resources :queues, only: [ :index, :show ] do scope module: :queues do resource :pause, only: [ :create, :destroy ] end end resources :jobs, only: :show do resource :retry, only: :create resource :discard, only: :create collection do resource :bulk_retries, only: :create resource :bulk_discards, only: :create end end resources :jobs, only: :index, path: ":status/jobs" resources :workers, only: [ :index, :show ] end # Allow referencing urls without providing an application_id. It will default to the first one. resources :queues, only: [ :index, :show ] resources :jobs, only: :show resources :jobs, only: :index, path: ":status/jobs" resources :workers, only: [ :index, :show ] root to: "queues#index" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mission_control-jobs-0.1.1 | config/routes.rb |
mission_control-jobs-0.1.0 | config/routes.rb |