Implements registrations and last login information for dashboard

This commit is contained in:
Chrisbr 2014-06-02 12:37:57 +02:00
parent 6b31644012
commit b645b1a4ff
12 changed files with 496 additions and 49 deletions

View file

@ -175,7 +175,7 @@ class Event < ActiveRecord::Base
end
def week
created_at.strftime('%W')
created_at.strftime('%W').to_i
end
private