Sha256: 3fcd2a0fd429c4797cc723f26f5c4b78eb20c1e71a97375d4bb469d9059aa66b

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

Panoptic::Engine.routes.draw do
  root to: "processes#index"

  resources :queues, only: [:index]

  resources :jobs, only: :index do
    resource :retry, only: :create, module: :jobs
  end

  scope :jobs, module: :jobs do
    resources :scheduled, only: :index, as: :scheduled_jobs
    resources :failed, only: [:index, :show, :destroy], as: :failed_jobs
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panoptic-0.5.0 config/routes.rb