|
|
|
@ -4,6 +4,7 @@ json.user_id @user.id
|
|
|
|
|
json.image_url url_to_avatar(@user)
|
|
|
|
|
json.admin @user.admin?
|
|
|
|
|
json.is_teacher @user.user_extension&.teacher?
|
|
|
|
|
json.user_identity @user.identity
|
|
|
|
|
json.tidding_count 0
|
|
|
|
|
json.user_phone_binded @user.phone.present?
|
|
|
|
|
if @course
|
|
|
|
|