Module: ForemanProbing::HostsHelperExtensions

Defined in:
app/helpers/concerns/foreman_probing/hosts_helper_extensions.rb

Instance Method Summary collapse

Instance Method Details

#host_title_actions(*args) ⇒ Object



3
4
5
6
7
# File 'app/helpers/concerns/foreman_probing/hosts_helper_extensions.rb', line 3

def host_title_actions(*args)
  title_actions(button_group(link_to(_('Probe'), new_foreman_probing_scan_path(:search_query => "name = #{args.first.name}", :target_kind => 'host'), :id => :run_button, :class => 'btn btn-default')))

  super(*args)
end