forked from Gitlink/forgeplus
change bug
This commit is contained in:
parent
fbf2738bd1
commit
6fc93489ab
|
@ -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
|
Loading…
Reference in New Issue