Le geojson inclue maintenant la date
This commit is contained in:
parent
d961cb553d
commit
aeefcd4048
@ -83,7 +83,7 @@ class Event < ActiveRecord::Base
|
|||||||
name: title,
|
name: title,
|
||||||
tags: tags,
|
tags: tags,
|
||||||
popupContent: "<a href=\"/#{self.class.name.downcase.pluralize}/#{id}\"" \
|
popupContent: "<a href=\"/#{self.class.name.downcase.pluralize}/#{id}\"" \
|
||||||
+ ">#{city}: #{title}</a>"
|
+ ">#{start_time.to_date} #{city}: #{title}</a>"
|
||||||
}, geometry: {
|
}, geometry: {
|
||||||
type: 'Point',
|
type: 'Point',
|
||||||
coordinates: [longitude, latitude]
|
coordinates: [longitude, latitude]
|
||||||
|
Loading…
Reference in New Issue
Block a user