SpeciesFileGroup/taxonworks

View on GitHub
app/views/taxon_names/_show.json.jbuilder

Summary

Maintainability
Test Coverage
json.extract! taxon_name, :id, :name, :parent_id, :year_of_publication, :verbatim_author, :rank, :rank_string, :nomenclatural_code, :type,
  :cached_html, :cached_author_year, 
  :cached_valid_taxon_name_id, :cached_original_combination_html, :cached_original_combination, :cached_secondary_homonym, :cached_primary_homonym,
  :created_at, :updated_at, 
  :created_by_id, :updated_by_id, :project_id
json.object_tag taxon_name_tag(taxon_name)

json.partial! '/taxon_names/attributes', taxon_name: taxon_name