diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-27 17:02:10 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-27 17:02:10 -0500 |
commit | de40ec53e8b80d8d880214183f19ea93172a0026 (patch) | |
tree | cb25d099fa0252d2b43db850f21c69ccd03907e3 /app/views/tournaments/index.json.jbuilder | |
parent | 3a7b14f4a51c0fdb8b71720f361a0a8ccf080325 (diff) |
give tournaments a game type
Diffstat (limited to 'app/views/tournaments/index.json.jbuilder')
-rw-r--r-- | app/views/tournaments/index.json.jbuilder | 2 |
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 |