Sha256: ab3c97f0904bc5d24eb7187617b22a29d0ab420ebedca084138c91aab4e6de03

Contents?: true

Size: 643 Bytes

Versions: 6

Compression:

Stored size: 643 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'
    post 'auto_upload', to: 'uploads#auto_upload'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_rh_cloud-0.9.6 config/routes.rb
foreman_rh_cloud-1.0.6 config/routes.rb
foreman_rh_cloud-2.0.6 config/routes.rb
foreman_rh_cloud-0.9.5 config/routes.rb
foreman_rh_cloud-1.0.5 config/routes.rb
foreman_rh_cloud-2.0.5 config/routes.rb