You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
json.subject do
|
|
|
|
json.name @subject.name
|
|
|
|
json.description @subject.description
|
|
|
|
json.shixuns_count @subject.shixuns_count
|
|
|
|
json.challenges_count @subject.subject_challenge_count
|
|
|
|
json.member_count @subject.myshixuns_count
|
|
|
|
json.subject_score @subject.all_score
|
|
|
|
json.learning_notes @subject.learning_notes
|
|
|
|
end
|
|
|
|
|
|
|
|
json.team_title @subject.team_title
|
|
|
|
json.members @members do |member|
|
|
|
|
json.partial! 'subjects/subject_member', locals: { user: member.user }
|
|
|
|
json.role member.role
|
|
|
|
end
|
|
|
|
|
|
|
|
# 技能标签
|
|
|
|
json.tags_name @tags
|