Sha256: e29e9b4ffa177ce9f5dac5ce696ca03c1b9f6c4b68199cc2266d3ab636386445

Contents?: true

Size: 780 Bytes

Versions: 18

Compression:

Stored size: 780 Bytes

Contents

# frozen_string_literal: true
GoodJob::Engine.routes.draw do
  root to: 'executions#index'

  resources :executions, only: %i[destroy]

  resources :jobs, only: %i[index show] do
    member do
      put :discard
      put :reschedule
      put :retry
    end
  end

  resources :cron_entries, only: %i[index show] do
    member do
      post :enqueue
    end
  end

  resources :processes, only: %i[index]

  scope controller: :assets do
    constraints(format: :css) do
      get :bootstrap, action: :bootstrap_css
      get :style, action: :style_css
    end

    constraints(format: :js) do
      get :bootstrap, action: :bootstrap_js
      get :rails_ujs, action: :rails_ujs_js
      get :chartjs, action: :chartjs_js
      get :scripts, action: :scripts_js
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
good_job-2.13.0 engine/config/routes.rb
good_job-2.12.2 engine/config/routes.rb
good_job-2.12.1 engine/config/routes.rb
good_job-2.12.0 engine/config/routes.rb
good_job-2.11.3 engine/config/routes.rb
good_job-2.11.2 engine/config/routes.rb
good_job-2.11.1 engine/config/routes.rb
good_job-2.11.0 engine/config/routes.rb
good_job-2.10.0 engine/config/routes.rb
good_job-2.9.6 engine/config/routes.rb
good_job-2.9.5 engine/config/routes.rb
good_job-2.9.4 engine/config/routes.rb
good_job-2.9.3 engine/config/routes.rb
good_job-2.9.2 engine/config/routes.rb
good_job-2.9.1 engine/config/routes.rb
good_job-2.9.0 engine/config/routes.rb
good_job-2.8.1 engine/config/routes.rb
good_job-2.8.0 engine/config/routes.rb