config/routes.rb in foreman_leapp-0.1.7 vs config/routes.rb in foreman_leapp-0.1.8

- old
+ new

@@ -2,10 +2,11 @@ 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 + 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