Permalink
Browse files

Fix calculate_user_topic_info_votes_balance task

  • Loading branch information...
1 parent 0874660 commit 2dc41d711064d1621fbd14110e177b2e724413ff Ricardo Panaggio committed Nov 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/user_topic_info.rb
View
2 app/models/user_topic_info.rb
@@ -115,7 +115,7 @@ def self.update_vote_balance!(answer)
return if answer.question.nil?
answer.question.topics.each do |topic|
- self.update_votes_balance(answer.user, topic, answer.votes_average)
+ self.increment_votes_balance(answer.user, topic, answer.votes_average)
end
end

0 comments on commit 2dc41d7

Please sign in to comment.