#2452course网站课程资源个数的显示和主页显示的不一致
This commit is contained in:
parent
cba760b8b0
commit
a5a5ccce41
|
@ -27,7 +27,7 @@
|
||||||
(<%= course.members.count %>人)
|
(<%= course.members.count %>人)
|
||||||
<% files_count = course.attachments.count %>
|
<% files_count = course.attachments.count %>
|
||||||
<% if files_count > 0%>
|
<% if files_count > 0%>
|
||||||
(<%= link_to "#{files_count.to_s}份", course_files_path(course) %>资料)
|
(<%= link_to "#{files_count.to_s}份", course_files_path(course) %>公开资料)
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue