Sha256: bbdd6daf09e803d5d2295c1a15734cb67473987a47fe0a36a21474baf2dc7420
Contents?: true
Size: 470 Bytes
Versions: 8
Compression:
Stored size: 470 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
8 entries across 8 versions & 1 rubygems