diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 23:15:59 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 23:15:59 -0500 |
commit | dd7c85b2eb93688ffb3c4311ca1e10eaa9bd544e (patch) | |
tree | 42a227d7e34bf7f187298b5cc907d09b336e52b7 /app/controllers | |
parent | 39ceb0e99eecd76b2cdebeb802930a98a764417a (diff) | |
parent | acf821e35851b672fcb5fb350e77aedf5a674843 (diff) |
Merge branch 'master' of github.com:LukeShu/leaguer
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/tournaments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index 5bb9bf8..913ca52 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -42,7 +42,7 @@ class TournamentsController < ApplicationController @tournament = Tournament.new(tournament_params) respond_to do |format| if @tournament.save - @tournament.hosts.push(current_user) + #@tournament.hosts.push(current_user) format.html { redirect_to @tournament, notice: 'Tournament was successfully created.' } format.json { render action: 'show', status: :created, location: @tournament } else |