Simplification

remotes/origin/master
echarp 3 years ago
parent ff9cec213b
commit b83ddff550
  1. 2
      app/views/maps/index.json.jbuilder

@ -10,7 +10,7 @@ json.array!(@events) do |event|
place_name: event.place_name, address: event.address, city: event.city,
region: event.region.name, region_id: event.region_id,
tags: event.tag_list,
popupContent: "<a href=\"/events/#{event.id}\">#{event}</a>"
popupContent: link_to(event, event)
},
geometry: {
type: 'Point',

Loading…
Cancel
Save