educoder/app/views/weapps/unbind_accounts/show.json.jbuilder

2 lines
104 B

5 years ago
json.user_account @user.phone.present? ? @user.phone : (@user.mail.present? ? @user.mail : @user.login)