mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 12:45:46 +08:00
Merge branch 'pre_trustie_server' into trustie_server
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
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
json.count @total_count
|
||||
json.projects do
|
||||
json.partial! '/projects/project_detail', collection: @projects, as: :project
|
||||
json.projects @projects do |project|
|
||||
json.partial! '/projects/project_detail', project: project
|
||||
json.is_home_top @home_top_ids.include?(project.id)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user