报名人数统计

dev_bj
jingquan huang 6 years ago
parent c7304cf397
commit 6dce6702b5

@ -30,6 +30,6 @@ class Competition < ActiveRecord::Base
end end
def member_count def member_count
self.team_members.count + 268 self.team_members.count == 0 ? 0 : self.team_members.count + 268
end end
end end

Loading…
Cancel
Save