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/create.json.jbuilder
Sylvain be8ae01ba4 (ui) refactor plan form
Also: add advanced accounting to plans
2022-12-21 14:05:16 +01:00

8 lines
184 B
Ruby

# frozen_string_literal: true
json.extract! @user, :id, :email
json.name @user.profile.full_name
json.profile_attributes do
json.extract! @user.profile, :first_name, :last_name
end