app/presenters/spotlight/iiif_manifest_presenter.rb in blacklight-spotlight-3.0.0.rc4 vs app/presenters/spotlight/iiif_manifest_presenter.rb in blacklight-spotlight-3.0.0.rc5

- old
+ new

@@ -77,9 +77,9 @@ IIIFManifest::IIIFEndpoint.new(iiif_url, profile: 'http://iiif.io/api/image/2/level2.json') end def iiif_url # yes this is hacky, and we are appropriately ashamed. - controller.riiif.info_url(uploaded_resource.upload.id).sub(%r{/info\.json\Z}, '') + controller.riiif.info_url(uploaded_resource.upload).sub(%r{/info\.json\Z}, '') end end end