mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 12:45:46 +08:00
change bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
json.count @watchers_count
|
json.count @watchers_count
|
||||||
json.users do
|
json.users do
|
||||||
json.array! @watchers do |watcher|
|
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
|
end
|
||||||
# json.partial! "/users/watch_user_detail", collection: @watchers, as: :target
|
# json.partial! "/users/watch_user_detail", collection: @watchers, as: :target
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user