This commit is contained in:
sw 2014-07-01 10:29:37 +08:00
parent bb86ef4612
commit 12b6525cc6
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ module CoursesHelper
return format("%.2f",teacher_stars == nil ? 0 : teacher_stars.stars) return format("%.2f",teacher_stars == nil ? 0 : teacher_stars.stars)
end end
#获取指定作业的得分 #获取指定项目的得分
def project_score project def project_score project
issue_count = project.issues.count issue_count = project.issues.count
issue_journal_count = project.issue_changes.count issue_journal_count = project.issue_changes.count