Module: ForemanSpacewalk::HostsHelperExt
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/helpers/concerns/foreman_spacewalk/hosts_helper_ext.rb
Instance Method Summary collapse
Instance Method Details
#multiple_actions_with_spacewalk ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'app/helpers/concerns/foreman_spacewalk/hosts_helper_ext.rb', line 9 def multiple_actions_with_spacewalk spacewalk_multiple_actions = [] if (controller: :hosts, action: :select_multiple_downtime) spacewalk_multiple_actions << [ _('Change Spacewalk Proxy'), select_multiple_spacewalk_proxy_hosts_path ] end multiple_actions_without_spacewalk + spacewalk_multiple_actions end |