mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
7 lines
256 B
Ruby
7 lines
256 B
Ruby
json.count @watchers_count
|
|
json.users do
|
|
json.array! @watchers do |watcher|
|
|
json.partial! "/users/watch_user_detail", target: watcher, user: watcher.watchable
|
|
end
|
|
# json.partial! "/users/watch_user_detail", collection: @watchers, as: :target
|
|
end |