SpeciesFileGroup/taxonworks

View on GitHub
app/views/documents/index.json.jbuilder

Summary

Maintainability
Test Coverage
json.array!(@documents) do |document|
  json.partial! "attributes", document: document
  json.url document_url(document, format: :json)
end