Sha256: 0149f0572c543fed704597db8560c24f5b0ab5d6142a57a5ab934a049d34cf9b

Contents?: true

Size: 555 Bytes

Versions: 1

Compression:

Stored size: 555 Bytes

Contents

# frozen_string_literal: true
GoodJob::Engine.routes.draw do
  root to: 'dashboards#index'
  resources :cron_schedules, only: %i[index]
  resources :active_jobs, only: %i[show]
  resources :executions, 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

1 entries across 1 versions & 1 rubygems

Version Path
good_job-2.2.0 engine/config/routes.rb