设置了评分的竞赛作品提交有问题

This commit is contained in:
cxt 2017-01-04 17:20:22 +08:00
parent 9d8e9a0c55
commit 63d29b38ca
1 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,8 @@ class ContestantWork < ActiveRecord::Base
end
def set_work_score
set_final_score self.work,self
if self.id
set_final_score self.work,self
end
end
end