Skip to content

Commit

Permalink
taxon determination JSON, #337
Browse files Browse the repository at this point in the history
  • Loading branch information
mjy committed Jun 29, 2018
1 parent 3e45484 commit b0658d1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions app/views/taxon_determinations/_attributes.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
json.extract! taxon_determination, :id, :biological_collection_object_id, :otu_id, :position, :year_made, :month_made, :day_made, :created_by_id, :updated_by_id, :project_id, :created_at, :updated_at
json.object_tag taxon_determination_tag(taxon_determination)
json.url taxon_determination_url(taxon_determination, format: :json)
json.global_id taxon_determination.to_global_id.to_s

json.type 'TaxonDetermination'

json.extract! taxon_determination, :id, :biological_collection_object_id, :otu_id,
:position, :year_made, :month_made, :day_made,
:print_label,
:created_by_id, :updated_by_id, :project_id, :created_at, :updated_at
json.partial! '/shared/data/all/metadata', object: taxon_determination, klass: 'TaxonDetermination'

0 comments on commit b0658d1

Please sign in to comment.