diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-24 17:01:42 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-24 17:02:00 -0400 |
commit | 27c3e207b299e6c5a94a1ab81412bb9e11a0d92a (patch) | |
tree | 744f90df73c92499ead5619913f8957187487ef6 /app/views | |
parent | 992dc06e50d74aca79ed58d868be6113e3ebe55c (diff) |
rename Tournament#tournament_stages to Tournament#stages
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 d8538df..761f12a 100644 --- a/app/views/matches/index.html.erb +++ b/app/views/matches/index.html.erb @@ -12,7 +12,7 @@ </tr> </thead> <tbody> - <% @tournament.tournament_stages.ordered(:id)each do |stage| %> + <% @tournament.stages.ordered(: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.tournament_stages.ordered(:id).each do |stage| %> +<% @tournament.stages.ordered(:id).each do |stage| %> <div class="graph"><%= raw stage.to_svg(current_user) %></div> <% end %> |