Skip to content

Commit

Permalink
Refs #36849 - Correct kwargs handling in documentation_button
Browse files Browse the repository at this point in the history
Fixes: b566ea8 ("Fixes #32848 - Support linking to docs.theforeman.org")
  • Loading branch information
ekohl authored and evgeni committed Jan 3, 2024
1 parent 82d11ab commit 441f20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def show_parent?(obj)
end

def documentation_button(section = "", options = {})
url = documentation_url section, options
url = documentation_url(section, **options)
link_to(icon_text('help', _('Documentation'), :kind => 'pficon'),
url, :rel => 'external noopener noreferrer', :class => 'btn btn-default btn-docs', :target => '_blank')
end
Expand Down

0 comments on commit 441f20a

Please sign in to comment.