houdini/app/views/app_data/_user.jbuilder

9 lines
311 B
Text
Raw Normal View History

# 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
json.unconfirmed_email user.unconfirmed_email
json.confirmed user.confirmed?
json.partial! render 'app_data/profile', profile: user.profile