summaryrefslogtreecommitdiff
path: root/app/views/users/index.json.jbuilder
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-03 15:03:36 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-03 15:03:36 -0500
commitcd69a777235e96266d4ed101ef22de7ed1308dd5 (patch)
treec3c525c942423518daa2ef77b0fd0eab54140089 /app/views/users/index.json.jbuilder
parent7a8f0a0c74c96fcde2a38fbf98123b6c8d44308c (diff)
parentd7d7636973b5d90bd9b245b4b1bac75a9d190a3f (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/users/index.json.jbuilder')
-rw-r--r--app/views/users/index.json.jbuilder4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/users/index.json.jbuilder b/app/views/users/index.json.jbuilder
new file mode 100644
index 0000000..182437e
--- /dev/null
+++ b/app/views/users/index.json.jbuilder
@@ -0,0 +1,4 @@
+json.array!(@users) do |user|
+ json.extract! user, :id, :name, :pw_hash
+ json.url user_url(user, format: :json)
+end