We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4783a commit 73e7548Copy full SHA for 73e7548
lib/iiif_print/split_pdfs/child_work_creation_from_pdf_service.rb
@@ -63,7 +63,7 @@ def self.pdf_paths(file:)
63
64
if file.class < Valkyrie::Resource
65
# assuming that if one PDF is uploaded to a Valkyrie resource then all of them should be
66
- paths = [Hyrax.storage_adapter.file_path(file.file_identifier)]
+ paths = [file.file.disk_path.to_s]
67
pdfs_only_for(paths)
68
else
69
upload_ids = filter_file_ids(file.id.to_s)
0 commit comments