summaryrefslogtreecommitdiff
path: root/app/views/tournaments/index.json.jbuilder
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-02-27 17:58:14 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-02-27 17:58:14 -0500
commit8d75a450ec1e34205ec4bee5587e8bddb9c89d21 (patch)
tree349c6cd9c9669c94675becdeeaac1c29fd60022e /app/views/tournaments/index.json.jbuilder
parent6e20d92989739bde287c6a07c03ae3f70755660b (diff)
parent068e95231c3d2cee113cf77af67ce785d853429e (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/tournaments/index.json.jbuilder')
-rw-r--r--app/views/tournaments/index.json.jbuilder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tournaments/index.json.jbuilder b/app/views/tournaments/index.json.jbuilder
index 28d6960..e6f3b49 100644
--- a/app/views/tournaments/index.json.jbuilder
+++ b/app/views/tournaments/index.json.jbuilder
@@ -1,4 +1,4 @@
json.array!(@tournaments) do |tournament|
- json.extract! tournament, :id
+ json.extract! tournament, :id, :game_id
json.url tournament_url(tournament, format: :json)
end