From 7a857047f4ec55fed9e503a03d2d98e855f70815 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Tue, 27 Jun 2023 15:12:35 +0200 Subject: [PATCH] Rely on the plugin_manual mechanism in Foreman --- app/helpers/remote_execution_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/helpers/remote_execution_helper.rb b/app/helpers/remote_execution_helper.rb index 234f417c0..909e8ebc6 100644 --- a/app/helpers/remote_execution_helper.rb +++ b/app/helpers/remote_execution_helper.rb @@ -203,8 +203,7 @@ def time_in_words_span(time) end def documentation_button_rex(section = '') - url = "https://theforeman.org/plugins/foreman_remote_execution/#{rex_doc_version}/index.html#" - documentation_button section, :root_url => url + documentation_button section, type: 'plugin_manual', name: 'foreman_remote_execution', version: rex_doc_version, section: "##{section}" end def description_checkbox_f(f, job_template, disabled)