Sha256: 4333275b358da062a7db0ed68fcd04d03f3acb2bc53355969d1fcf99ee343656

Contents?: true

Size: 973 Bytes

Versions: 17

Compression:

Stored size: 973 Bytes

Contents

Foreman::Application.routes.draw do
  namespace :foreman_tasks do
    resources :recurring_logics, :only => [:index, :show] do
      member do
        post :cancel
      end
    end

    resources :tasks, :only => [:index, :show] do
      collection do
        get 'auto_complete_search'
      end
      member do
        get :sub_tasks
        post :cancel
        post :resume
        post :unlock
        post :force_unlock
        post :cancel_step
      end
    end

    namespace :api do
      resources :recurring_logics, :only => [:index, :show] 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

17 entries across 17 versions & 1 rubygems

Version Path
foreman-tasks-0.8.6 config/routes.rb
foreman-tasks-0.8.5 config/routes.rb
foreman-tasks-0.8.4 config/routes.rb
foreman-tasks-0.8.3 config/routes.rb
foreman-tasks-0.8.2 config/routes.rb
foreman-tasks-0.8.1 config/routes.rb
foreman-tasks-0.8.0 config/routes.rb
foreman-tasks-0.7.20 config/routes.rb
foreman-tasks-0.7.19 config/routes.rb
foreman-tasks-0.7.18 config/routes.rb
foreman-tasks-0.7.17 config/routes.rb
foreman-tasks-0.7.16 config/routes.rb
foreman-tasks-0.7.15 config/routes.rb
foreman-tasks-0.7.14 config/routes.rb
foreman-tasks-0.7.13 config/routes.rb
foreman-tasks-0.7.12 config/routes.rb
foreman-tasks-0.7.11 config/routes.rb