Sha256: fd4f2cb897cae1e42c9168cb24d1ffc74bad8651507647168157144e2a0ba141
Contents?: true
Size: 1.19 KB
Versions: 11
Compression:
Stored size: 1.19 KB
Contents
Foreman::Application.routes.draw do namespace :foreman_tasks do resources :recurring_logics, :only => [:index, :show] do member do post :cancel put :enable put :disable end end resources :tasks, :only => [:index, :show] do collection do get 'auto_complete_search' get '/summary/:recent_timeframe', action: 'summary' end member do get :sub_tasks post :abort post :cancel post :resume post :unlock post :force_unlock post :cancel_step end end match '/ex_tasks' => 'react#index', :via => [:get] match '/ex_tasks/:id' => 'react#index', :via => [:get] namespace :api do resources :recurring_logics, :only => [:index, :show, :update] do member do post :cancel end end resources :tasks, :only => [:show, :index] do collection do post :bulk_search post :bulk_resume get :summary post :callback end end end if ForemanTasks.dynflow.required? require 'dynflow/web' mount ForemanTasks.dynflow.web_console => '/dynflow' end end end
Version data entries
11 entries across 11 versions & 1 rubygems