summaryrefslogtreecommitdiff
path: root/app/views/matches
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-04-03 16:15:46 -0400
committernfoy <nfoy@purdue.edu>2014-04-03 16:15:46 -0400
commit5169363d6698fb87372efcb7ace552b89953584e (patch)
treeff42d819be510dfe929b4cd9dbc1cd25f51c9785 /app/views/matches
parent2b79a033262dfe610eb22b7f6b3614db9cb134b1 (diff)
parent9f19d0e16d7920e07255c0fbe596c518d1aa415f (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/matches')
-rw-r--r--app/views/matches/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb
index 4193f16..0f86da6 100644
--- a/app/views/matches/index.html.erb
+++ b/app/views/matches/index.html.erb
@@ -36,9 +36,9 @@
width="<%= 300 * @matches.count / 2 + 50 %>" height="<%= 200 * @matches.count + 50 %>"
xmlns="http://www.w3.org/2000/svg">
- <% @matches.each do |tournament | %>
+ <% (1..@matches.count).each do |i| %>
<g class="svg-match" >
-
+
</g>
<% end %>