summaryrefslogtreecommitdiff
path: root/app/views/remote_usernames/index.json.jbuilder
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-04-03 16:15:46 -0400
committernfoy <nfoy@purdue.edu>2014-04-03 16:15:46 -0400
commit5169363d6698fb87372efcb7ace552b89953584e (patch)
treeff42d819be510dfe929b4cd9dbc1cd25f51c9785 /app/views/remote_usernames/index.json.jbuilder
parent2b79a033262dfe610eb22b7f6b3614db9cb134b1 (diff)
parent9f19d0e16d7920e07255c0fbe596c518d1aa415f (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/remote_usernames/index.json.jbuilder')
-rw-r--r--app/views/remote_usernames/index.json.jbuilder4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/remote_usernames/index.json.jbuilder b/app/views/remote_usernames/index.json.jbuilder
new file mode 100644
index 0000000..c9fbc0f
--- /dev/null
+++ b/app/views/remote_usernames/index.json.jbuilder
@@ -0,0 +1,4 @@
+json.array!(@remote_usernames) do |remote_username|
+ json.extract! remote_username, :id, :game_id, :user_id, :user_name
+ json.url remote_username_url(remote_username, format: :json)
+end