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