app/models/concerns/spotlight/user.rb in blacklight-spotlight-0.12.1 vs app/models/concerns/spotlight/user.rb in blacklight-spotlight-0.13.0

- old
+ new

@@ -3,9 +3,10 @@ # Spotlight user mixins for roles module User extend ActiveSupport::Concern included do has_many :roles, class_name: 'Spotlight::Role', dependent: :destroy + has_many :exhibits, class_name: 'Spotlight::Exhibit', through: :roles before_create :add_default_roles end def superadmin?