summaryrefslogtreecommitdiff
path: root/app/views/users/index.json.jbuilder
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-04 15:25:58 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-04 15:25:58 -0500
commite4ae559d8189519586e044238196ee45b2a10c6b (patch)
tree3d4977292aa234ea93ce604095f13d50484250a1 /app/views/users/index.json.jbuilder
parent2f450dd30bb210fdc4cb8899c72e6da945a163ba (diff)
parentda95cb4f0f48731c2713c61f17b522b048647fd1 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Conflicts: app/assets/stylesheets/scaffolds.css.scss app/views/layouts/application.html.erb db/migrate/20140304043618_create_servers.rb db/migrate/20140304043622_create_matches.rb db/migrate/20140304043631_create_games.rb
Diffstat (limited to 'app/views/users/index.json.jbuilder')
-rw-r--r--app/views/users/index.json.jbuilder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/index.json.jbuilder b/app/views/users/index.json.jbuilder
index 182437e..42d8b72 100644
--- a/app/views/users/index.json.jbuilder
+++ b/app/views/users/index.json.jbuilder
@@ -1,4 +1,4 @@
json.array!(@users) do |user|
- json.extract! user, :id, :name, :pw_hash
+ json.extract! user, :id, :name, :email, :user_name
json.url user_url(user, format: :json)
end