summaryrefslogtreecommitdiff
path: root/app/models/tournament_stage.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 18:29:17 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 18:29:17 -0400
commitb4bc055585dee532653a8c64e45385e085ec22a8 (patch)
tree6ecad9d0bee5fd547ad0e68ec58bb8fde226e848 /app/models/tournament_stage.rb
parenta185e81094bed6626ac69449eff0f01bdfbc5197 (diff)
I hate code
Diffstat (limited to 'app/models/tournament_stage.rb')
-rw-r--r--app/models/tournament_stage.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/tournament_stage.rb b/app/models/tournament_stage.rb
index 9fa6dcd..762f6a7 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
+ def to_svg(current_user)
set_scheduling
- return @scheduling.graph
+ return @scheduling.graph(current_user)
end
private