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

3 lines
113 B
Ruby

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