Sha256: 0def726b191ce1e7a020c8675b2536ea5f8fa1b0871992d9c6b5aa0757897d74

Contents?: true

Size: 434 Bytes

Versions: 7

Compression:

Stored size: 434 Bytes

Contents

Rails.application.routes.draw do
  namespace :resque do
    namespace :queues do
      resource :info, only: :show, controller: :info
      resource :status, only: :show, controller: :status
    end
  end

  get "#{Rails.application.config.resque_job_status.fetch(:route_path)}(/:id)",
      to: 'resque/jobs#show',
      as: 'job_status',
      constraints: ::Rails.application.config.resque_job_status.fetch(:route_constraints)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
resque-integration-3.8.2 config/routes.rb
resque-integration-3.8.1 config/routes.rb
resque-integration-3.8.0 config/routes.rb
resque-integration-3.7.1 config/routes.rb
resque-integration-3.5.1 config/routes.rb
resque-integration-3.5.0 config/routes.rb
resque-integration-3.4.1 config/routes.rb