mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
5 lines
142 B
Ruby
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
|