Sha256: 44b49e917bfc97ad5a50bd6da2c2f4e81f2cbba27a6f9378f990ccf4e13d36a3
Contents?: true
Size: 441 Bytes
Versions: 7
Compression:
Stored size: 441 Bytes
Contents
module ForemanPatch module WindowPatchingHelper def rounds(window) window.rounds.map do |round| { name: round.name, link: round_path(round), priority: round.priority, hostsCount: round.invocations.count, hostsLink: main_app.hosts_path(search: "patch_round_id = #{round.id}"), status: round.status, actions: [] } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems