change watch_users params count

This commit is contained in:
sylor_huang@126.com 2020-05-18 13:46:47 +08:00
parent d75b9dd04c
commit 3a14106cfd
1 changed files with 1 additions and 1 deletions

View File

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