diff options
author | tkimia <tkimia@purdue.edu> | 2014-04-24 17:46:09 -0400 |
---|---|---|
committer | tkimia <tkimia@purdue.edu> | 2014-04-24 17:46:09 -0400 |
commit | 976325f60e7706e480f3d45848897200734c8485 (patch) | |
tree | 3af99533f9de154b5531e941a7a37fcfc45144c6 /app/views | |
parent | 74814dad443659e1e0875329c95cc0257de25b3b (diff) |
luke's typo fix
Diffstat (limited to 'app/views')
-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 761f12a..784d7db 100644 --- a/app/views/matches/index.html.erb +++ b/app/views/matches/index.html.erb @@ -12,7 +12,7 @@ </tr> </thead> <tbody> - <% @tournament.stages.ordered(:id)each do |stage| %> + <% @tournament.stages.order(:id).each do |stage| %> <% stage.matches_ordered.keys.sort.reverse.each do |match_key| %><tr> <% match = stage.matches_ordered[match_key] %> <td><%= "Match #{match.id}" %></td> @@ -35,6 +35,6 @@ <br> -<% @tournament.stages.ordered(:id).each do |stage| %> +<% @tournament.stages.order(:id).each do |stage| %> <div class="graph"><%= raw stage.to_svg(current_user) %></div> <% end %> |