app/models/taxon_user_classification_filter.rb
# NOTE - this ONLY works on overview and media.
# TODO - move this to a mixin, which we can then call on those two.
this ONLY works on overview and media.
TODO - move this to a mixin, which we can then call on those two.
this ONLY works on overview and media . TODO - move this to a mixin which we can then call on those two .
def correct_bogus_exemplar_image
    if image.nil? && ! @media.empty? && @media.first && ! @media.first.map?
      TaxonConceptCacheClearing.clear_exemplar_image(taxon_concept)
      @image = nil 
    end
  end
def correct_bogus_exemplar_image if image . nil? && ! @media . empty? && @media . first && ! @media . first . map? TaxonConceptCacheClearing . clear_exemplar_image ( taxon_concept ) @image = nil end end
NOTE - this ONLY works on overview and media.
NOTE - this ONLY works on overview and media .
# Reload it the next time you need it.