1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/views/api/users/index.json.jbuilder
2016-03-23 18:39:41 +01:00

5 lines
142 B
Ruby

json.users @users do |user|
json.extract! user, :id, :email, :first_name, :last_name
json.name "#{user.first_name} #{user.last_name}"
end