config/routes.rb in foreman_ansible-3.0.2 vs config/routes.rb in foreman_ansible-3.0.3
- old
+ new
@@ -90,9 +90,18 @@
put :obsolete
end
end
resources :ansible_override_values, :only => [:create, :destroy]
+
+ resources :ansible_inventories, :only => [] do
+ collection do
+ post :hosts
+ get :hosts
+ post :hostgroups
+ get :hostgroups
+ end
+ end
end
end
end
end
# rubocop:enable BlockLength