Try fix faulty images
This commit is contained in:
parent
fd11eaff33
commit
02e13871bb
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ module PdfDocuments
|
||||||
end
|
end
|
||||||
|
|
||||||
def image(attachable, **args)
|
def image(attachable, **args)
|
||||||
@prawn_document.image ActiveStorage::Blob.service.path_for(attachable.key), **args
|
@prawn_document.image(ActiveStorage::Blob.service.path_for(attachable.key), **args) rescue StandardError
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue