SpeciesFileGroup/taxonworks

View on GitHub
app/views/people/select_options.json.jbuilder

Summary

Maintainability
Test Coverage
@people.each_key do |group|
  json.set!(group) do
    json.array! @people[group] do |p|
      json.partial! '/people/base_attributes', person: p
    end
  end
end