Sha256: 1e4051bf520e391a7b4ea191d64e1fe0d5de69e6bfb5c4b5ab9d568d947b33a0

Contents?: true

Size: 472 Bytes

Versions: 21

Compression:

Stored size: 472 Bytes

Contents

Foreman::Application.routes.draw do
  namespace :foreman_tasks do
    resources :tasks, :only => [:index, :show] do
      collection do
        get 'auto_complete_search'
      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

21 entries across 21 versions & 1 rubygems

Version Path
foreman-tasks-0.5.3 config/routes.rb
foreman-tasks-0.5.2 config/routes.rb
foreman-tasks-0.5.1 config/routes.rb
foreman-tasks-0.5.0 config/routes.rb
foreman-tasks-0.4.0 config/routes.rb
foreman-tasks-0.3.6 config/routes.rb
foreman-tasks-0.3.5 config/routes.rb
foreman-tasks-0.3.4 config/routes.rb
foreman-tasks-0.3.3 config/routes.rb
foreman-tasks-0.3.2 config/routes.rb
foreman-tasks-0.3.1 config/routes.rb
foreman-tasks-0.3.0 config/routes.rb
foreman-tasks-0.2.2 config/routes.rb
foreman-tasks-0.2.1 config/routes.rb
foreman-tasks-0.2.0 config/routes.rb
foreman-tasks-0.1.5 config/routes.rb
foreman-tasks-0.1.4 config/routes.rb
foreman-tasks-0.1.3 config/routes.rb
foreman-tasks-0.1.2 config/routes.rb
foreman-tasks-0.1.1 config/routes.rb