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.
educoder/app/views/shixuns/change_manager.json.jbuilder

9 lines
201 B

if @collaborators
json.array! @collaborators do |col|
json.user_id col.user.try(:id)
json.name col.user.full_name
end
else
json.status 1
json.message "更换管理员成功"
end