fixing stat numbers

This commit is contained in:
differentreality 2013-07-30 11:41:39 +03:00
parent ef556f02ca
commit a13a084f3e
3 changed files with 24 additions and 9 deletions

View file

@ -11,7 +11,7 @@
%th #
%th %
- @supporter_levels.each do |level|
- reg_count = level.supporter_registrations.count
- reg_count = level.supporter_registrations.where(conference_id: @conference).count
- if reg_count > 0
%tr
%td= level.title