Sha256: f1fe603da0d2267aafbc1e38ac853af6e178e3fc29b1259d07b317eedd913516

Contents?: true

Size: 504 Bytes

Versions: 17

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true
GoodJob::Engine.routes.draw do
  root to: 'dashboards#index'
  resources :active_jobs, only: %i[show]
  resources :jobs, only: %i[destroy]

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

    constraints(format: :js) do
      get :bootstrap, action: :bootstrap_js
      get :chartist, action: :chartist_js
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
good_job-1.99.2 engine/config/routes.rb
good_job-2.1.0 engine/config/routes.rb
good_job-2.0.5 engine/config/routes.rb
good_job-2.0.4 engine/config/routes.rb
good_job-2.0.3 engine/config/routes.rb
good_job-2.0.2 engine/config/routes.rb
good_job-1.99.1 engine/config/routes.rb
good_job-2.0.1 engine/config/routes.rb
good_job-2.0.0 engine/config/routes.rb
good_job-1.99.0 engine/config/routes.rb
good_job-1.13.2 engine/config/routes.rb
good_job-1.13.1 engine/config/routes.rb
good_job-1.13.0 engine/config/routes.rb
good_job-1.12.2 engine/config/routes.rb
good_job-1.12.1 engine/config/routes.rb
good_job-1.12.0 engine/config/routes.rb
good_job-1.11.3 engine/config/routes.rb