diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-29 00:59:48 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-29 00:59:48 -0400 |
commit | 35700a053bb802efd01ac0b6d0ebefa0723d7817 (patch) | |
tree | ab379631e1b19dd77e66db6236e5bb1b6ecef6df /app/controllers/matches_controller.rb | |
parent | a1814bcfddcf2178ef5ccf35d95bc0917f9409fc (diff) | |
parent | cd0c7d73be76feffbaaea9200c485b2316604469 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/controllers/matches_controller.rb')
-rw-r--r-- | app/controllers/matches_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb index 81ffcd8..d2dc918 100644 --- a/app/controllers/matches_controller.rb +++ b/app/controllers/matches_controller.rb @@ -31,6 +31,7 @@ class MatchesController < ApplicationController # Scheduled, waiting to start if (@tournament.hosts.include? current_user) and (params[:update_action] == "start") @match.status = 2 + @match.start_sampling respond_to do |format| if @match.save format.html { redirect_to tournament_match_path(@tournament, @match), notice: 'Match has started.' } |