课程搜索很慢,原因是以前成员数计算太复杂
This commit is contained in:
parent
50575c1c20
commit
eb6c3a9377
|
@ -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-->
|
||||
|
|
Loading…
Reference in New Issue