|
|
|
@@ -1,7 +1,7 @@ |
|
|
|
json.count @watchers_count |
|
|
|
json.users do |
|
|
|
json.array! @watchers do |watcher| |
|
|
|
json.partial! "/users/watch_user_detail", locals: {target: watcher, user: target.user} |
|
|
|
json.partial! "/users/watch_user_detail", locals: {target: watcher, user: watcher.user} |
|
|
|
end |
|
|
|
# json.partial! "/users/watch_user_detail", collection: @watchers, as: :target |
|
|
|
end |