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