diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 16:30:13 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 16:30:13 -0400 |
commit | 4e754e04d6bd04267e5a55011aa9f4f2a2fc7859 (patch) | |
tree | 6e152c868457d24de16653e5a696cdd9518cf9d6 /app/views/tournaments/index.json.jbuilder | |
parent | ecef4973baed5580e3b2500ce0a65def1132d172 (diff) |
Tournament has a NAME now
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 e95c6a7..4038f04 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, :game_id, :status, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams + json.extract! tournament, :id, :name, :game_id, :status, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams json.url tournament_url(tournament, format: :json) end |