mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +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
|