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) diff --git a/lib/foreman_remote_execution/engine.rb b/lib/foreman_remote_execution/engine.rb index 3ba9e4ab0..96e523b70 100644 --- a/lib/foreman_remote_execution/engine.rb +++ b/lib/foreman_remote_execution/engine.rb @@ -47,7 +47,7 @@ class Engine < ::Rails::Engine initializer 'foreman_remote_execution.register_plugin', before: :finisher_hook do |_app| Foreman::Plugin.register :foreman_remote_execution do - requires_foreman '>= 3.7' + requires_foreman '>= 3.8' register_global_js_file 'global' register_gettext