From 63a665823b8f05bf0b3a9acf9b18cc01252951fb Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 25 Apr 2014 11:03:55 -0400 Subject: Touch up s/scores/statistics/ --- app/views/matches/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') 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 %>
  • <%= user.user_name %>
  • <% else %> -
  • <%= user.user_name %> - SCORE: <%= Statistic.where(:name => "score", :user => user, :match => @match).first.value %>
  • +
  • <%= user.user_name %> - SCORE: <%= user.statistics.where(:name => "score", :match => @match).first.value %>
  • <% end %> <% end %> -- cgit v1.2.3-2-g168b