Simplification
This commit is contained in:
parent
ff9cec213b
commit
b83ddff550
@ -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…
Reference in New Issue
Block a user