Sha256: 91cdfb9d3ed63700a16effc256782ea83c4f975ad4609edc4048a405e917ff7c

Contents?: true

Size: 593 Bytes

Versions: 10

Compression:

Stored size: 593 Bytes

Contents

Foreman::Application.routes.draw do
  namespace :foreman_tasks do
    resources :tasks, :only => [:index, :show] do
      collection do
        get 'auto_complete_search'
      end
      member do
        post :resume
        post :unlock
        post :force_unlock
        post :cancel_step
      end
    end

    namespace :api do
      resources :tasks, :only => [:show] do
        post :bulk_search, :on => :collection
      end
    end

    if ForemanTasks.dynflow.required?
      require 'dynflow/web_console'
      mount ForemanTasks.dynflow.web_console => "/dynflow"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foreman-tasks-0.6.9 config/routes.rb
foreman-tasks-0.6.8 config/routes.rb
foreman-tasks-0.6.7 config/routes.rb
foreman-tasks-0.6.6 config/routes.rb
foreman-tasks-0.6.5 config/routes.rb
foreman-tasks-0.6.4 config/routes.rb
foreman-tasks-0.6.3 config/routes.rb
foreman-tasks-0.6.2 config/routes.rb
foreman-tasks-0.6.1 config/routes.rb
foreman-tasks-0.6.0 config/routes.rb