This commit is contained in:
Adrian Hinz 2020-07-09 12:13:26 +02:00
parent 3b2122858d
commit e3cd42a0a1
1 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@ module PsAdmin
end end
def gen_pdf_file def gen_pdf_file
otp = OrderToPdf.new(@order).call otp = OrderToPdf.new(@order)
send_data otp, filename: otp.file_name send_data otp.call, filename: otp.file_name
end end
def status_histories def status_histories