summaryrefslogtreecommitdiff
path: root/app/views/matches/index.json.jbuilder
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-02-18 18:16:28 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-02-18 18:16:28 -0500
commit94a5654371812905c154f29cef393d42f13c5eaa (patch)
tree6bd168b6837f8ae9e4725bc1cdbdfc52cb1f9c5c /app/views/matches/index.json.jbuilder
parent5f5a3ca46b0c59f698a49de463d72492cfe60f37 (diff)
Added the generate shell command. Please do not commit the generated files.
Diffstat (limited to 'app/views/matches/index.json.jbuilder')
-rw-r--r--app/views/matches/index.json.jbuilder4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/matches/index.json.jbuilder b/app/views/matches/index.json.jbuilder
new file mode 100644
index 0000000..08daa52
--- /dev/null
+++ b/app/views/matches/index.json.jbuilder
@@ -0,0 +1,4 @@
+json.array!(@matches) do |match|
+ json.extract! match, :id
+ json.url match_url(match, format: :json)
+end