From 8aadbcc02b1af4aab316fe752e0138548c396710 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 23 Apr 2014 10:28:15 -0400 Subject: rename the parameter to TournamentStage#to_svg to avoid confusion --- app/models/tournament_stage.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/models/tournament_stage.rb b/app/models/tournament_stage.rb index d5a5211..8e0074d 100644 --- a/app/models/tournament_stage.rb +++ b/app/models/tournament_stage.rb @@ -17,9 +17,9 @@ class TournamentStage < ActiveRecord::Base @scheduling.create_matches end - def to_svg(current_user) + def to_svg(highlight_user) set_scheduling - return @scheduling.graph(current_user) + return @scheduling.graph(highlight_user) end def pair -- cgit v1.2.3-54-g00ecf