config/routes.rb in foreman_ansible-6.4.1 vs config/routes.rb in foreman_ansible-7.0.0
- old
+ new
@@ -1,7 +1,10 @@
# frozen_string_literal: true
Rails.application.routes.draw do
+ match '/ansible/hostgroups' => 'react#index', :via => [:get]
+ match '/ansible/hostgroups/*page' => 'react#index', :via => [:get]
+
namespace :api, defaults: { format: 'json' } do
scope '(:apiv)',
:module => :v2,
:defaults => { apiv: 'v2' },
:apiv => /v2/,