config/routes.rb in foreman_bootdisk-3.1.2 vs config/routes.rb in foreman_bootdisk-3.2.0
- old
+ new
@@ -2,9 +2,10 @@
resources :disks, :only => [] do
get 'generic', :on => :collection
get 'help', :on => :collection
constraints(:id => /[^\/]+/) do
get 'hosts/:id', :on => :collection, :to => 'disks#host'
+ get 'full_hosts/:id', :on => :collection, :to => 'disks#full_host'
end
end
namespace :api, :defaults => {:format => 'json'} do
scope "(:apiv)", :module => :v2, :defaults => {:apiv => 'v2'}, :apiv => /v1|v2/, :constraints => ApiConstraints.new(:version => 2) do