app/models/spotlight/exhibit.rb in blacklight-spotlight-3.5.0.4 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-3.6.0.beta1

- old
+ new

@@ -35,10 +35,10 @@ acts_as_tagger acts_as_taggable delegate :blacklight_config, to: :blacklight_configuration serialize :facets, Array - # Note: friendly id associations need to be 'destroy'ed to reap the slug history + # NOTE: friendly id associations need to be 'destroy'ed to reap the slug history has_many :about_pages, -> { for_default_locale }, extend: FriendlyId::FinderMethods has_many :attachments, dependent: :destroy has_many :contact_emails, dependent: :delete_all # These are the contacts who get "Contact us" emails has_many :contacts, dependent: :delete_all # These are the contacts who appear in the sidebar has_many :custom_fields, dependent: :delete_all do