Sha256: 450e1c44b56c8e860daa307671113f79c020704e2724547b69a5f195432de81e

Contents?: true

Size: 879 Bytes

Versions: 4

Compression:

Stored size: 879 Bytes

Contents

Katello::Engine.routes.draw do
  scope :katello, :path => '/katello' do
    match ':kt_path/auto_complete_search', :action => :auto_complete_search, :controller => :auto_complete_search, :via => :get

    resources :sync_management, :only => [:destroy] do
      collection do
        get :index
        get :sync_status
        post :sync
      end
    end

    resources :products, :only => [] do
      member do
        get :available_repositories
        put :toggle_repository
      end
    end

    resources :providers, :only => [] do
      collection do
        get :redhat_provider
        get :redhat_provider_tab
      end
    end

    if Katello.with_remote_execution?
      match '/remote_execution' => 'remote_execution#create', :via => [:post]
    end
  end

  match '/xui' => 'react#index', :via => [:get]
  match '/xui/*page' => 'react#index', :via => [:get]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katello-3.6.0 config/routes.rb
katello-3.6.0.1.rc2 config/routes.rb
katello-3.6.0.rc2 config/routes.rb
katello-3.6.0.rc1 config/routes.rb