diff --git a/app/models/pdf_documents/base.rb b/app/models/pdf_documents/base.rb index 4242a57..8c5a4f1 100644 --- a/app/models/pdf_documents/base.rb +++ b/app/models/pdf_documents/base.rb @@ -108,7 +108,7 @@ module PdfDocuments end 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