Sha256: 3d269fd1097752333331623c00cd308bac6c96579ae8d524f5979dc70c879335
Contents?: true
Size: 949 Bytes
Versions: 8
Compression:
Stored size: 949 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 resource :dispatch, 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 ] resources :recurring_tasks, 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" root to: "queues#index" end
Version data entries
8 entries across 8 versions & 1 rubygems