candychang/bernal-heights

View on GitHub
app/views/admin/resources/index.json.jbuilder

Summary

Maintainability
Test Coverage
json.array!(@resources) do |resource|
  json.extract! resource, :id, :title, :description, :link, :phone, :kind
  json.url resource_url(resource, format: :json)
end