Sha256: a8768dd9b2e430524def854a1321076ac093ba9b5c68415470f20ea6b8717f57

Contents?: true

Size: 593 Bytes

Versions: 15

Compression:

Stored size: 593 Bytes

Contents

Rails.application.routes.draw do
  namespace :foreman_inventory_upload do
    get 'index', to: 'react#index'
    get ':organization_id/reports/last', to: 'reports#last', constraints: { organization_id: %r{[^\/]+} }
    post ':organization_id/reports', to: 'reports#generate', constraints: { organization_id: %r{[^\/]+} }
    get ':organization_id/uploads/last', to: 'uploads#last', constraints: { organization_id: %r{[^\/]+} }
    get ':organization_id/uploads/file', to: 'uploads#download_file', constraints: { organization_id: %r{[^\/]+} }
    get 'accounts', to: 'accounts#index'
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
foreman_rh_cloud-0.9.4.1 config/routes.rb
foreman_rh_cloud-1.0.4.1 config/routes.rb
foreman_rh_cloud-1.0.4 config/routes.rb
foreman_rh_cloud-2.0.4 config/routes.rb
foreman_rh_cloud-0.9.4 config/routes.rb
foreman_inventory_upload-2.0.4.pre.2 config/routes.rb
foreman_inventory_upload-2.0.4.pre.1 config/routes.rb
foreman_inventory_upload-2.0.3 config/routes.rb
foreman_inventory_upload-1.0.3 config/routes.rb
foreman_inventory_upload-0.9.2 config/routes.rb
foreman_inventory_upload-1.0.2 config/routes.rb
foreman_inventory_upload-0.9.1 config/routes.rb
foreman_inventory_upload-1.0.1 config/routes.rb
foreman_inventory_upload-0.9.0 config/routes.rb
foreman_inventory_upload-1.0.0 config/routes.rb