Implements registrations and last login information for dashboard
This commit is contained in:
parent
6b31644012
commit
b645b1a4ff
12 changed files with 496 additions and 49 deletions
|
|
@ -33,4 +33,8 @@ class Registration < ActiveRecord::Base
|
|||
delegate :tshirt, :to => :person
|
||||
|
||||
alias_attribute :other_needs, :other_special_needs
|
||||
|
||||
def week
|
||||
created_at.strftime('%W').to_i
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue