课程搜索很慢,原因是以前成员数计算太复杂

This commit is contained in:
guange 2015-05-13 14:58:11 +08:00
parent 50575c1c20
commit eb6c3a9377
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
</p>
<p class="stats">
<%= content_tag('span', "#{garble @course.members.count}", :class => "info") %>
<%= content_tag('span', l(:label_x_member, :count => memberCount(@course))) %>
<%= content_tag('span', l(:label_x_member, :count => @course.members.count)) %>
</p>
<!--gcm-->