app/services/hyrax/indexes_thumbnails.rb in hyrax-3.0.0.pre.rc1 vs app/services/hyrax/indexes_thumbnails.rb in hyrax-3.0.0.pre.rc2
- old
+ new
@@ -1,13 +1,14 @@
+# frozen_string_literal: true
module Hyrax
module IndexesThumbnails
extend ActiveSupport::Concern
included do
class_attribute :thumbnail_path_service
self.thumbnail_path_service = ThumbnailPathService
class_attribute :thumbnail_field
- self.thumbnail_field = 'thumbnail_path_ss'.freeze
+ self.thumbnail_field = 'thumbnail_path_ss'
end
# Adds thumbnail indexing to the solr document
def generate_solr_document
super.tap do |solr_doc|