forgeplus/app/views/users/projects/search.json.jbuilder

6 lines
119 B
Plaintext
Raw Permalink Normal View History

2020-03-09 00:40:16 +08:00
json.count @count
json.projects do
json.array! @projects do |project|
json.extract! project, :id, :name
end
end