diff --git a/app/models/spotlight/blacklight_configuration.rb b/app/models/spotlight/blacklight_configuration.rb index 705fc52c2..f43357af1 100644 --- a/app/models/spotlight/blacklight_configuration.rb +++ b/app/models/spotlight/blacklight_configuration.rb @@ -123,7 +123,7 @@ def blacklight_config config.view.embed! # This is blacklight-gallery's openseadragon partial unless config.view.embed.document_component - config.view.embed.partials ||= ['openseadragon'] + config.view.embed.partials ||= ['openseadragon'] unless config.view.embed.embed_component config.view.embed.document_component = Spotlight::SolrDocumentLegacyEmbedComponent end config.view.embed.if = false