app/services/spotlight/carrierwave_file_resolver.rb in blacklight-spotlight-2.3.2 vs app/services/spotlight/carrierwave_file_resolver.rb in blacklight-spotlight-2.3.3
- old
+ new
@@ -1,9 +1,9 @@
module Spotlight
# Used by RIIIF to find files uploaded by carrierwave
class CarrierwaveFileResolver < Riiif::AbstractFileSystemResolver
# Override initialzer to avoid deprecation about not providing base path
- def initializer
+ def initialize
# nop
end
def pattern(id)
uploaded_file = Spotlight::FeaturedImage.find(id).image.file