summaryrefslogtreecommitdiff
path: root/app/views/pois/index.json.jbuilder
blob: c0f24fe2ad762cab2062352529b77b7c3f8714d4 (plain)
1
2
3
4
json.array!(@pois) do |poi|
  json.extract! poi, :id, :message, :lat, :lon
  json.url poi_url(poi, format: :json)
end