mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-04 04:03:25 +08:00
6 lines
126 B
Ruby
6 lines
126 B
Ruby
json.count @total_count
|
|
json.schools do
|
|
json.array! @schools.each do |school|
|
|
json.extract! school, :id, :name
|
|
end
|
|
end |