课程首页通知不显示附件

This commit is contained in:
sw 2015-06-12 14:41:02 +08:00
parent 0ca913bc83
commit 9938c9f83a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
<br />
<%= l :label_activity_time %> <%= format_activity_day(day) %>&nbsp;<%= format_time(e.event_datetime, false) %>
</p>
<%= link_to_attachments_course(e) if e.is_a?(News) %>
<%= link_to_attachments_course(e) if e.class.to_s == "News" %>
</div>
<div class="cl"></div>
</div><!--课程动态 end-->