fixed percentage method to reflect the new normalized_score method

This commit is contained in:
Tom Staubitz
2015-04-23 17:24:11 +02:00
parent 6ecaa559fb
commit 2d7c2945df

View File

@ -46,7 +46,7 @@ class Submission < ActiveRecord::Base
end
def percentage
(normalized_score * 100).round if score
(normalized_score * 100).round
end
[:score, :stop].each do |action|