修改fork_user.json.jbuilder

This commit is contained in:
sylor_huang@126.com
2020-05-15 17:45:44 +08:00
parent e67831df77
commit 84ed5bb06c
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
json.cout @watch_users.size
json.cout @watchers.size
json.watchers do
json.partial! "/projects/list_user", collection: @watch_user, as: :target
json.partial! "/projects/list_user", collection: @watchers, as: :target
end