You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- json.total_contributions @headmaps.collect{|map| map["contributions"]}.reduce(0, :+)
- json.headmaps @headmaps.each do |map|
- json.date Time.at(map["timestamp"].to_i).strftime("%Y-%m-%d")
- json.contributions map["contributions"]
- end
|