Skip to content

Commit 7a85704

Browse files
committed
Rely on the plugin_manual mechanism in Foreman
1 parent 54dc5ed commit 7a85704

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/helpers/remote_execution_helper.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ def time_in_words_span(time)
203203
end
204204

205205
def documentation_button_rex(section = '')
206-
url = "https://theforeman.org/plugins/foreman_remote_execution/#{rex_doc_version}/index.html#"
207-
documentation_button section, :root_url => url
206+
documentation_button section, type: 'plugin_manual', name: 'foreman_remote_execution', version: rex_doc_version, section: "##{section}"
208207
end
209208

210209
def description_checkbox_f(f, job_template, disabled)

0 commit comments

Comments
 (0)