app/models/spotlight/exhibit.rb in blacklight-spotlight-2.3.2 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-2.3.3

- old
+ new

@@ -40,10 +40,15 @@ has_many :reindexing_log_entries, dependent: :destroy has_many :resources has_many :roles, as: :resource, dependent: :delete_all has_many :searches, dependent: :destroy, extend: FriendlyId::FinderMethods has_many :solr_document_sidecars, dependent: :delete_all + + # Ignoring for https://github.com/rubocop-hq/rubocop/issues/6764 + # rubocop:disable Rails/ReflectionClassName has_many :users, through: :roles, class_name: Spotlight::Engine.config.user_class + # rubocop:enable Rails/ReflectionClassName + has_many :pages, dependent: :destroy has_many :filters, dependent: :delete_all has_many :translations, class_name: 'I18n::Backend::ActiveRecord::Translation', dependent: :destroy, inverse_of: :exhibit has_many :languages, dependent: :destroy