添加合作者

dev_forum
cxt 5 years ago
parent 7391805b20
commit 955669b2a0

@ -10,7 +10,7 @@ json.publish_status publish_status(@subject, @is_creator, @user, @shixuns)
json.allow_statistics @user.manager_of_subject?(@subject)
json.allow_send @user.logged?
json.allow_visit @user.manager_of_subject?(@subject) || @user.admin? || @subject.status > 1
json.allow_add_member @user.admin?
json.allow_add_member @user.manager_of_subject?(@subject)
json.members @members do |member|
json.partial! 'subject_member', locals: { user: member.user }

Loading…
Cancel
Save