diff --git a/app/models/sample_attribute.rb b/app/models/sample_attribute.rb index 62386928d2..bc895e6971 100644 --- a/app/models/sample_attribute.rb +++ b/app/models/sample_attribute.rb @@ -22,7 +22,7 @@ class SampleAttribute < ApplicationRecord # sample type exists attr_reader :deferred_link_to_self - # whether this attribute is tied to a controlled vocab which has a source ontology + # whether this attribute is tied to a controlled vocab which is based on an ontology delegate :ontology_based?, to: :sample_controlled_vocab, allow_nil: true def title=(title)