You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/users/projects/search.json.jbuilder

6 lines
119 B

6 years ago
json.count @count
json.projects do
json.array! @projects do |project|
json.extract! project, :id, :name
end
end