Le geojson inclue maintenant la date

This commit is contained in:
echarp 2014-10-27 22:54:55 +01:00
parent d961cb553d
commit aeefcd4048
1 changed files with 1 additions and 1 deletions

View File

@ -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]