Sha256: 1d6fcabfe00d6adaba2c282e07d2f1035ee7d321ede9955d7c53c1c8878a68a9
Contents?: true
Size: 1.24 KB
Versions: 4
Compression:
Stored size: 1.24 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 member do get :details end 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
foreman-tasks-0.16.3 | config/routes.rb |
foreman-tasks-0.16.2 | config/routes.rb |
foreman-tasks-0.16.1 | config/routes.rb |
foreman-tasks-0.17.0 | config/routes.rb |