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 b90cb38 commit 7126055Copy full SHA for 7126055
app/controllers/static_pages_controller.rb
@@ -23,7 +23,7 @@ def stats
23
Dojo
24
.distinct
25
.joins(:dojo_event_services)
26
- .where(created_at: Time.zone.local(2012).beginning_of_year..Time.zone.local(year).end_of_year)
+ .where(created_at: Time.zone.local(@range.first).beginning_of_year..Time.zone.local(year).end_of_year)
27
.count
28
@events[year] =
29
EventHistory.where(evented_at:
0 commit comments