Add admin stats page

This commit is contained in:
differentreality 2013-07-12 12:30:31 +03:00
parent 8286c8130d
commit a71a16922c
7 changed files with 240 additions and 0 deletions

View file

@ -13,4 +13,9 @@ class Registration < ActiveRecord::Base
accepts_nested_attributes_for :person
accepts_nested_attributes_for :supporter_registration
accepts_nested_attributes_for :social_events
alias_attribute :with_partner, :attending_with_partner
alias_attribute :social_events, :attending_social_events
alias_attribute :need_access, :handicapped_access_required
alias_attribute :other_needs, :other_special_needs
end