summaryrefslogtreecommitdiff
path: root/app/views/tournaments/index.json.jbuilder
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-25 16:38:52 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-25 16:38:52 -0400
commit8435c0a5ec9889a9da6ede2e24c044d64b279095 (patch)
treed277b31519df83e8a1c060b04c6ea6cf50b5c361 /app/views/tournaments/index.json.jbuilder
parent4d58cc07933fd0a0756c667b38f2e0658302aebf (diff)
parent4e754e04d6bd04267e5a55011aa9f4f2a2fc7859 (diff)
Tournament Name added
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 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