diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-03-02 21:10:49 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-03-02 21:10:49 -0500 |
commit | fefe3f469243d6c932c256cc8798bae35e4ff1c4 (patch) | |
tree | 7a413b2c3bcfb0cd6842c70ae0ff962b6908172c /app/views/matches/index.json.jbuilder | |
parent | c7469584f3fa51666d5df074d012741cbb2f3663 (diff) |
Added Tournament Name.
Diffstat (limited to 'app/views/matches/index.json.jbuilder')
-rw-r--r-- | app/views/matches/index.json.jbuilder | 2 |
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 |