Implements event submissions over time chart

This commit is contained in:
Chrisbr 2014-05-30 10:10:47 +02:00
parent b6538cddb2
commit 40c61ed717
12 changed files with 215 additions and 9 deletions

View file

@ -174,6 +174,10 @@ class Event < ActiveRecord::Base
end
end
def week
created_at.strftime('%W')
end
private
def abstract_limit