Sha256: dd4f3a5ab031fba063fa933ac2214060d93bece024c881c7488874934101ea5e

Contents?: true

Size: 561 Bytes

Versions: 8

Compression:

Stored size: 561 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_inventory_upload-1.0.0.beta7 config/routes.rb
foreman_inventory_upload-1.0.0.beta6 config/routes.rb
foreman_inventory_upload-1.0.0.beta5 config/routes.rb
foreman_inventory_upload-1.0.0.beta4 config/routes.rb
foreman_inventory_upload-1.0.0.beta3 config/routes.rb
foreman_inventory_upload-1.0.0.beta2 config/routes.rb
foreman_inventory_upload-1.0.0.beta1 config/routes.rb
foreman_inventory_upload-0.0.1.dev1 config/routes.rb