agenda-libre-ruby/app/views/users/index.json.jbuilder

5 lines
135 B
Plaintext
Raw Normal View History

2013-11-14 10:54:09 +01:00
json.array!(@users) do |user|
json.extract! user, :login, :email, :lastname, :firstname
json.url user_url(user, format: :json)
end