设置了评分的竞赛作品提交有问题
This commit is contained in:
parent
9d8e9a0c55
commit
63d29b38ca
|
@ -26,6 +26,8 @@ class ContestantWork < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_work_score
|
def set_work_score
|
||||||
set_final_score self.work,self
|
if self.id
|
||||||
|
set_final_score self.work,self
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue