diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-23 10:28:15 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-23 10:28:15 -0400 |
commit | 8aadbcc02b1af4aab316fe752e0138548c396710 (patch) | |
tree | 876d0734cf56263db61bd1e1640f141128662181 /app/models | |
parent | 68f2978eb4cbed995c101b938937dea87fdb1508 (diff) |
rename the parameter to TournamentStage#to_svg to avoid confusion
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/tournament_stage.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |