Sha256: c7fd6f540db3d3f1dacc2aa6f90848b89b76cee6f81857d9c8080b856d9bea49

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 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]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_leapp-0.0.6 config/routes.rb
foreman_leapp-0.0.5 config/routes.rb
foreman_leapp-0.0.4 config/routes.rb
foreman_leapp-0.0.3 config/routes.rb
foreman_leapp-0.0.2 config/routes.rb