This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
json.user_certification @user_certification #用户的认证,1为认证通过,0为未认证/认证未通过
json.exercises_count @public_exercises_count
if @public_exercises_count > 0
json.public_exercises do
json.array! @public_exercises do |exercise|
json.exercise_name exercise.name
json.exercise_description exercise.description
json.exercise_id exercise.container_id
json.exercise_user_id exercise.user_id
json.exercise_user_name exercise.user.real_name
end
else
json.public_exercises []