Module: ForemanLeapp::HostsHelper

Defined in:
app/helpers/foreman_leapp/hosts_helper.rb

Instance Method Summary collapse

Instance Method Details

#leapp_hosts_multiple_actionsObject



5
6
7
8
9
# File 'app/helpers/foreman_leapp/hosts_helper.rb', line 5

def leapp_hosts_multiple_actions
  [{ action: [_('Preupgrade check with Leapp'), new_job_invocation_path(feature: 'leapp_preupgrade'), false],
     priority: 1000 },
   { action: [_('Upgrade with Leapp'), new_job_invocation_path(feature: 'leapp_upgrade'), false], priority: 1000 }]
end