summaryrefslogtreecommitdiff
path: root/app/controllers/matches_controller.rb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-29 16:41:35 -0400
committertkimia <tkimia@purdue.edu>2014-04-29 16:41:35 -0400
commit42d6e3b1cc05ef5172081682b53675e4827254d3 (patch)
tree240743892a6f0948774f1b89bf5bf58ed49f6416 /app/controllers/matches_controller.rb
parent0d6f7a3bfbf4c87510a1bcf967b618f98e149d49 (diff)
elimination works SOMETIMES... other times it just can't put down a damned winner
Diffstat (limited to 'app/controllers/matches_controller.rb')
-rw-r--r--app/controllers/matches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb
index dbd3e68..f24b95d 100644
--- a/app/controllers/matches_controller.rb
+++ b/app/controllers/matches_controller.rb
@@ -39,7 +39,7 @@ class MatchesController < ApplicationController
end
when 2
# Started, waiting to finish
- @match.handle_sampling(@current_user, params)
+ @match.handle_sampling(current_user, params)
# The @match.status will be updated by Statistic's after_save hook
if @match.status == 3
notice = 'Match has finished'