Sha256: a73e5b6742f7a20f56e058645d73cc4fd095277637af1bd36e2a48ffe50c086f
Contents?: true
Size: 705 Bytes
Versions: 3
Compression:
Stored size: 705 Bytes
Contents
Rails.application.routes.draw do namespace :foreman_inventory_upload do 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 namespace :foreman_rh_cloud do get 'inventory_upload', to: 'react#inventory_upload' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
foreman_rh_cloud-0.9.7 | config/routes.rb |
foreman_rh_cloud-1.0.7 | config/routes.rb |
foreman_rh_cloud-2.0.7 | config/routes.rb |