houdini/app/views/app_data/_user.jbuilder
2020-05-27 12:32:31 -05:00

8 lines
317 B
Ruby

# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
json.extract! user, :id, :created_at, :updated_at, :email
json.unconfirmed_email user.unconfirmed_email
json.confirmed user.confirmed?
json.partial! 'app_data/profile.json', profile: user.profile