diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/matches_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb index e88b6ef..8e7cc9e 100644 --- a/app/controllers/matches_controller.rb +++ b/app/controllers/matches_controller.rb @@ -177,7 +177,7 @@ class MatchesController < ApplicationController @match.teams.each do |team| team_scores[team] = 0 team.users.each do |user| - team_scores[team] += scores[user.user_name] + team_scores[team] += scores[user.user_name].to_i end end |