summaryrefslogtreecommitdiff
path: root/app/controllers/tournaments_controller.rb
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-02-28 17:30:02 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-02-28 17:30:02 -0500
commit5021d01548dd7b9d0080fc69c782f23bfb9a4620 (patch)
treee726cf2f799fcbc509f735cbac054951db61f120 /app/controllers/tournaments_controller.rb
parent96734ca0eef040effd0b5646ceeaccf39e2ebd38 (diff)
fixed db/seeds.rb and tried to get the game... did not succeed
Diffstat (limited to 'app/controllers/tournaments_controller.rb')
-rw-r--r--app/controllers/tournaments_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb
index 86b869b..56233b6 100644
--- a/app/controllers/tournaments_controller.rb
+++ b/app/controllers/tournaments_controller.rb
@@ -14,7 +14,7 @@ class TournamentsController < ApplicationController
# GET /tournaments/new
def new
- @game_names = Game.all
+ @game_names = Game.all.collect
@tournament = Tournament.new
end