diff options
author | Tomer Kimia <tkimia@purdue.edu> | 2014-04-01 18:51:03 -0400 |
---|---|---|
committer | Tomer Kimia <tkimia@purdue.edu> | 2014-04-01 18:51:03 -0400 |
commit | aa6e8f12a24e33d88a5751cee5e93bf4a038e2ef (patch) | |
tree | 1b198c27c38d344d69d4e713ab680a06127703cd /app/views/matches/index.html.erb | |
parent | 0867bc68749873aa131c0f3b273771b5f70ae778 (diff) |
AJAX is now working in the tournament loading page
Diffstat (limited to 'app/views/matches/index.html.erb')
-rw-r--r-- | app/views/matches/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb index f1019ec..e8d304a 100644 --- a/app/views/matches/index.html.erb +++ b/app/views/matches/index.html.erb @@ -38,9 +38,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 %> |