diff --git a/app/models/content_instance.rb b/app/models/content_instance.rb index fd725dc9..fc6dde05 100644 --- a/app/models/content_instance.rb +++ b/app/models/content_instance.rb @@ -60,6 +60,10 @@ class ContentInstance Locomotive::Liquid::Drops::Content.new(self) end + def highlighted_field_value + self.send(self.content_type.highlighted_field._name) + end + protected def set_slug @@ -84,10 +88,6 @@ class ContentInstance end end - def highlighted_field_value - self.send(self.content_type.highlighted_field._name) - end - def highlighted_field_alias self.content_type.highlighted_field._alias.to_sym end