config/routes.rb in foreman_bootdisk-18.1.0 vs config/routes.rb in foreman_bootdisk-19.0.0
- old
+ new
@@ -6,9 +6,10 @@
get 'help', on: :collection
constraints(id: %r{[^/]+}) do
get 'hosts/:id', on: :collection, to: 'disks#host'
get 'full_hosts/:id', on: :collection, to: 'disks#full_host'
get 'subnet/:id', on: :collection, to: 'subnet_disks#subnet'
+ get 'bootdisk_options/:id', on: :collection, to: 'disks#bootdisk_options'
end
end
namespace :api, defaults: { format: 'json' } do
scope '(:apiv)', module: :v2, defaults: { apiv: 'v2' }, apiv: /v1|v2/, constraints: ApiConstraints.new(version: 2, default: true) do