summaryrefslogtreecommitdiff
path: root/app/views/games/index.json.jbuilder
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:25:40 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:25:40 -0500
commitf5d36fc67d1994b7cc1ce02e7be2767ffcb47857 (patch)
tree03afe3bea27d2963525d7509690ec6b39e5648f9 /app/views/games/index.json.jbuilder
parentd0545c2820d101a98b3c895cf6e3691145a62f3c (diff)
new generate
Diffstat (limited to 'app/views/games/index.json.jbuilder')
-rw-r--r--app/views/games/index.json.jbuilder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/games/index.json.jbuilder b/app/views/games/index.json.jbuilder
index 7e5c1a1..f8b3e96 100644
--- a/app/views/games/index.json.jbuilder
+++ b/app/views/games/index.json.jbuilder
@@ -1,4 +1,4 @@
json.array!(@games) do |game|
- json.extract! game, :id, :name, :players_per_team, :teams_per_match, :set_rounds, :randomized_teams
+ json.extract! game, :id, :name, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams
json.url game_url(game, format: :json)
end