diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-25 11:03:55 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-25 11:03:55 -0400 |
commit | 63a665823b8f05bf0b3a9acf9b18cc01252951fb (patch) | |
tree | 50cb9fa6118ee8ae04471c9bd117e15544b8a8f2 /app/views | |
parent | f14410d0e7ea249971265f3466ec246c62e6f3f5 (diff) |
Touch up s/scores/statistics/
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/matches/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb index e1fe29e..e87ce5d 100644 --- a/app/views/matches/show.html.erb +++ b/app/views/matches/show.html.erb @@ -47,7 +47,7 @@ function score_peers() { <% if @match.status <= 1 %> <li><%= user.user_name %></li> <% else %> - <li><%= user.user_name %> - SCORE: <%= Statistic.where(:name => "score", :user => user, :match => @match).first.value %></li> + <li><%= user.user_name %> - SCORE: <%= user.statistics.where(:name => "score", :match => @match).first.value %></li> <% end %> <% end %> </ul></li> |