mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
change bug
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user