app/presenters/spotlight/iiif_manifest_presenter.rb in blacklight-spotlight-0.33.0 vs app/presenters/spotlight/iiif_manifest_presenter.rb in blacklight-spotlight-0.33.1
- old
+ new
@@ -71,9 +71,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.sub(%r{/info\.json\Z}, '')
+ controller.riiif.info_url(uploaded_resource.upload.id).sub(%r{/info\.json\Z}, '')
end
end
end