Sha256: 659d6111623c94765810e4666bb500da6caa4acbf6c992ccb047599e3789e7b0
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
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' get 'auto_upload', to: 'uploads#show_auto_upload' post 'auto_upload', to: 'uploads#auto_upload' post 'host_obfuscation', to: 'uploads#host_obfuscation' resources :tasks, only: [:create] end namespace :insights_cloud do resources :tasks, only: [:create] resource :settings, only: [:show, :update] end namespace :foreman_rh_cloud do get 'inventory_upload', to: 'react#inventory_upload' get 'insights_cloud', to: 'react#insights_cloud' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
foreman_rh_cloud-0.9.10 | config/routes.rb |
foreman_rh_cloud-1.0.10 | config/routes.rb |
foreman_rh_cloud-2.0.10 | config/routes.rb |