Sha256: 514d3882a2a7bd28c6889b1d8d2af75ed305bc7580cee2c724d0960246970288

Contents?: true

Size: 660 Bytes

Versions: 5

Compression:

Stored size: 660 Bytes

Contents

RocketJobMissionControl::Engine.routes.draw do

  resources :jobs, only: [:index, :show, :update, :destroy] do
    member do
      patch :abort
      patch :fail
      patch :pause
      patch :resume
      patch :retry
    end
    collection do
      get :running
    end
    resources :failures, controller: 'jobs/failures', only: [:index]
  end

  resources :workers, only: [:index, :destroy] do
    member do
      patch :stop
      patch :pause
      patch :resume
    end
    collection do
      patch :update_all
    end
  end

  resources :dirmon_entries do
    member do
      put :enable
      put :disable
    end
  end

  root to: "jobs#index"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rocketjob_mission_control-1.2.4 config/routes.rb
rocketjob_mission_control-1.2.3 config/routes.rb
rocketjob_mission_control-1.2.2 config/routes.rb
rocketjob_mission_control-1.2.1 config/routes.rb
rocketjob_mission_control-1.2.0 config/routes.rb