config/routes.rb in foreman_ansible-7.1.5 vs config/routes.rb in foreman_ansible-7.1.6

- old
+ new

@@ -1,11 +1,8 @@ # 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/, @@ -111,6 +108,9 @@ end end end end end + + match '/ansible/hostgroups' => 'react#index', :via => [:get] + match '/ansible/hostgroups/*page' => 'react#index', :via => [:get] end