summaryrefslogtreecommitdiff
path: root/app/views/matches/index.json.jbuilder
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-25 17:47:32 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-25 17:47:32 -0400
commit433fc302fe2943e89a36657affea39d578475d20 (patch)
treeac22866f93f9353ab9c82978d2eac2fbe0927a4c /app/views/matches/index.json.jbuilder
parent4e754e04d6bd04267e5a55011aa9f4f2a2fc7859 (diff)
Match Status added
Diffstat (limited to 'app/views/matches/index.json.jbuilder')
-rw-r--r--app/views/matches/index.json.jbuilder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/matches/index.json.jbuilder b/app/views/matches/index.json.jbuilder
index 0b2bfcd..1a63f5f 100644
--- a/app/views/matches/index.json.jbuilder
+++ b/app/views/matches/index.json.jbuilder
@@ -1,4 +1,4 @@
json.array!(@matches) do |match|
- json.extract! match, :id, :tournament_id, :name, :winner_id
+ json.extract! match, :id, :status, :tournament_id, :name, :winner_id
json.url match_url(match, format: :json)
end