Module: ForemanSnapshotManagement::HostsHelper

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

Instance Method Summary collapse

Instance Method Details

#snapshot_multiple_actionsObject



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

def snapshot_multiple_actions
  return [] unless can_create_snapshots?
  [{ action: [_('Create Snapshot'), select_multiple_host_snapshots_path], priority: 1000 }]
end