forked from Gitlink/forgeplus
10 lines
377 B
Ruby
10 lines
377 B
Ruby
json.total_count @project_visitors.total_count
|
|
json.project_visitors @project_visitors do |project_visitor|
|
|
json.id project_visitor.id
|
|
json.contact project_visitor.contact
|
|
json.contact_phone project_visitor.contact_phone
|
|
json.contact_unit project_visitor.contact_unit
|
|
json.user do
|
|
json.partial! "/users/user_simple", locals: {user: project_visitor.user}
|
|
end
|
|
end |