mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 09:45:57 +08:00
新增:列表返回是否置顶字段
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
json.total_count @organizations.total_count
|
||||
json.organizations @organizations do |organization|
|
||||
json.partial! "/organizations/organizations/detail", organization: organization
|
||||
json.is_home_top @home_top_ids.include?(organization.id)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user