lib/generators/spotlight/templates/config/initializers/riiif.rb in blacklight-spotlight-3.0.0.rc4 vs lib/generators/spotlight/templates/config/initializers/riiif.rb in blacklight-spotlight-3.0.0.rc5

- old
+ new

@@ -1,9 +1,11 @@ # frozen_string_literal: true -Riiif::Image.file_resolver = Spotlight::CarrierwaveFileResolver.new +ActiveSupport::Reloader.to_prepare do + Riiif::Image.file_resolver = Spotlight::CarrierwaveFileResolver.new -# Riiif::Image.authorization_service = IIIFAuthorizationService + # Riiif::Image.authorization_service = IIIFAuthorizationService -# Riiif.not_found_image = 'app/assets/images/us_404.svg' -# -Riiif::Engine.config.cache_duration = 365.days + # Riiif.not_found_image = 'app/assets/images/us_404.svg' + # + Riiif::Engine.config.cache_duration = 365.days +end