课程活跃度

This commit is contained in:
huang 2016-03-04 11:36:34 +08:00
parent 50011985a9
commit 9beaa62d6d
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ class JournalsForMessage < ActiveRecord::Base
if self.jour_type == "Course"
course_member_score(self.jour_id, self.user_id, "JournalForMessage")
elsif self.jour_type == "HomeworkCommon"
course_member_score(self.jour_id, self.user_id, "HomeworkCommon")
course_member_score(self.jour.course_id, self.user_id, "HomeworkCommon")
end
end