rosa-build/app/views/advisories/_advisory.json.jbuilder

7 lines
246 B
Plaintext
Raw Normal View History

json.id advisory.id
json.advisory_id advisory.advisory_id
json.description advisory.description
json.references advisory.references.split("\n").map { |ref| construct_ref_link(ref) }.join('<br />')
json.update_type advisory.update_type