Sha256: 4d2a660164cbfcd15f331875a747a0cab4f40ab2689070a4e0d2bffaad4c997f
Contents?: true
Size: 476 Bytes
Versions: 2
Compression:
Stored size: 476 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_leapp-2.0.1 | config/routes.rb |
foreman_leapp-2.0.0 | config/routes.rb |