rosa-build/app/views/api/v1/search/index.json.jbuilder

6 lines
152 B
Ruby

json.results do
@results.each do |tag, results|
json.partial! tag.dup, results: results
end
end
json.url api_v1_search_index_path(format: :json)