班级作业列表中“赞”和“取消点赞”不可用

This commit is contained in:
cxt 2016-08-11 16:34:00 +08:00
parent 80b8fc4444
commit 03c093fb13
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@
<% count=homework_common.journals_for_messages.count %>
<div class="homepagePostReply">
<%= render :partial => 'users/reply_banner', :locals => {:count => count, :activity => homework_common, :user_activity_id => -1, :is_in_course => is_in_course,:course_activity=>-1} %>
<%= render :partial => 'users/reply_banner', :locals => {:count => count, :activity => homework_common, :user_activity_id => homework_common.id, :is_in_course => is_in_course,:course_activity=>-1} %>
<% comments = homework_common.journals_for_messages.reorder("created_on desc").limit(3) %>
<% if count > 0 %>