summaryrefslogtreecommitdiff
path: root/app/views/alerts/index.json.jbuilder
blob: 685157ee21ba286b4601775390efd74cf7351611 (plain)
1
2
3
4
json.array!(@alerts) do |alert|
  json.extract! alert, :id, :author, :message
  json.url alert_url(alert, format: :json)
end