From bb11368fea64835e87362a391c76af54401ed778 Mon Sep 17 00:00:00 2001 From: MariaAga Date: Sun, 21 Mar 2021 16:12:41 +0200 Subject: [PATCH] Fixes #32147 - move ARF Reports from Hosts menu to Monitor --- lib/foreman_openscap/engine.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/foreman_openscap/engine.rb b/lib/foreman_openscap/engine.rb index 632503dad..796438361 100644 --- a/lib/foreman_openscap/engine.rb +++ b/lib/foreman_openscap/engine.rb @@ -142,9 +142,10 @@ class Engine < ::Rails::Engine menu :top_menu, :compliance_contents, :caption => N_('SCAP contents'), :url_hash => { :controller => :scap_contents, :action => :index }, :parent => :hosts_menu - menu :top_menu, :compliance_reports, :caption => N_('Reports'), + menu :top_menu, :compliance_reports, :caption => N_('ARF Reports'), :url_hash => { :controller => :arf_reports, :action => :index }, - :parent => :hosts_menu + :parent => :monitor_menu, + :after => :report_templates menu :top_menu, :compliance_files, :caption => N_('Tailoring Files'), :url_hash => { :controller => :tailoring_files, :action => :index }, :parent => :hosts_menu