fixed percentage method to reflect the new normalized_score method
This commit is contained in:
@ -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|
|
||||
|
Reference in New Issue
Block a user