summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-07 00:41:40 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-07 00:41:40 -0500
commit5ca9bd493d0348d56a3a8ce56923a72230515fe0 (patch)
tree694f7ef041e61c4f5112aa0d581fc21de75ce9c1 /app/controllers
parent4f8c33b425b075b80ccb32aec35e98a895f59f9c (diff)
Hey guys, I made it work. Just pick max_players_per_match to be 1.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/tournaments_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb
index 3583ec3..0807953 100644
--- a/app/controllers/tournaments_controller.rb
+++ b/app/controllers/tournaments_controller.rb
@@ -30,6 +30,7 @@ class TournamentsController < ApplicationController
if params['close_action'] == 'close'
@tournament.status = 1
@tournament.save
+ @tournament.setup(@tournament)
redirect_to "/tournaments"
end
end