summaryrefslogtreecommitdiff
path: root/app/views/remote_usernames/index.json.jbuilder
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-02 14:53:10 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-02 14:53:10 -0400
commitf9a4ee4e998f5f113565a93802c041108e9a180d (patch)
tree453534c6ee9b38d921266f92ac02e7e740a7856c /app/views/remote_usernames/index.json.jbuilder
parenta2de6b22a720671b796c88c694db905665fda142 (diff)
now ran generate without ger
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