SpeciesFileGroup/taxonworks

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

Summary

Maintainability
Test Coverage
@contents.each_key do |group|
  json.set!(group) do
    json.array! @contents[group] do |c|
      json.partial! '/contents/attributes', content: c
    end
  end
end