summaryrefslogtreecommitdiff
path: root/app/views/matches/index.json.jbuilder
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
commitfefe3f469243d6c932c256cc8798bae35e4ff1c4 (patch)
tree7a413b2c3bcfb0cd6842c70ae0ff962b6908172c /app/views/matches/index.json.jbuilder
parentc7469584f3fa51666d5df074d012741cbb2f3663 (diff)
Added Tournament Name.
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 c8ada7a..08ae0ef 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
+ json.extract! match, :id, :tournament_id, :name
json.url match_url(match, format: :json)
end