We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6527385 commit 5a174a4Copy full SHA for 5a174a4
app/controllers/static_pages_controller.rb
@@ -20,8 +20,8 @@ def stats
20
@sum_of_participants = EventHistory.sum(:participants)
21
22
# 2017年1月1日〜12月31日までの集計結果
23
- @2017_events = EventHistory.where('evented_at > ?', Time.zone.local(2017).beginning_of_year).count
24
- @2017_participants = EventHistory.where('evented_at > ?', Time.zone.local(2017).beginning_of_year).sum(:participants)
+ @events_2017 = EventHistory.where('evented_at > ?', Time.zone.local(2017).beginning_of_year).count
+ @participants_2017 = EventHistory.where('evented_at > ?', Time.zone.local(2017).beginning_of_year).sum(:participants)
25
end
26
27
def letsencrypt
0 commit comments