parent
ee58beb147
commit
21a26aba37
@ -0,0 +1,17 @@
|
||||
json.subject do
|
||||
json.name @subject.name
|
||||
json.description @subject.description
|
||||
json.shixuns_count @subject.shixuns_count
|
||||
json.member_count @subject.member_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
|
Loading…
Reference in new issue