Skip to content
Snippets Groups Projects
Verified Commit 71a09c0b authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Fix provisioning issue with discovered hosts

parent 0ce9ffb1
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,14 @@ Rails.application.routes.draw do
end
end
constraints(id: /[^\/]+/) do
resources :hosts do
constraints(id: %r{[^\/]+}) do
resources :hosts, only: [] do
collection do
post 'wds_server_selected'
post 'wds_image_selected'
end
end
resources :discovered_hosts, only: [] do
collection do
post 'wds_server_selected'
post 'wds_image_selected'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment