Sha256: 766c449476d14fea99b8bb39c317152eba42aa6f566b6858735cfb578244f331

Contents?: true

Size: 480 Bytes

Versions: 13

Compression:

Stored size: 480 Bytes

Contents

# frozen_string_literal: true

Rails.application.routes.draw do
  resources :preupgrade_reports, :only => %i[index]

  namespace :api, defaults: { format: 'json' } do
    scope '(:apiv)', module: :v2, defaults: { apiv: 'v2' }, apiv: /v2/,
          constraints: ApiConstraints.new( version: 2, default: true) do
      resources :preupgrade_reports, only: %i[index show]
      get 'job_invocations/:id/preupgrade_reports', to: 'preupgrade_reports#job_invocation'
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman_leapp-1.2.1 config/routes.rb
foreman_leapp-1.2.0 config/routes.rb
foreman_leapp-0.1.15 config/routes.rb
foreman_leapp-1.1.1 config/routes.rb
foreman_leapp-1.1.0 config/routes.rb
foreman_leapp-1.0.0 config/routes.rb
foreman_leapp-0.1.14 config/routes.rb
foreman_leapp-0.1.13 config/routes.rb
foreman_leapp-0.1.12 config/routes.rb
foreman_leapp-0.1.11 config/routes.rb
foreman_leapp-0.1.10 config/routes.rb
foreman_leapp-0.1.9 config/routes.rb
foreman_leapp-0.1.8 config/routes.rb