app/models/spotlight/exhibit.rb in blacklight-spotlight-0.12.0 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-0.12.1
- old
+ new
@@ -30,10 +30,10 @@
has_many :owned_taggings, class_name: 'ActsAsTaggableOn::Tagging', as: :tagger
has_many :resources
has_many :roles, dependent: :delete_all
has_many :searches, dependent: :destroy, extend: FriendlyId::FinderMethods
has_many :solr_document_sidecars, dependent: :delete_all
- has_many :users, through: :roles, class_name: '::User'
+ has_many :users, through: :roles, class_name: Spotlight::Engine.config.user_class
has_many :pages, dependent: :destroy
has_one :blacklight_configuration, class_name: 'Spotlight::BlacklightConfiguration', dependent: :delete
has_one :home_page