This commit is contained in:
Nicolas Bally 2019-06-28 11:49:45 +02:00
parent def87cf72f
commit 700fe039cc

View File

@ -189,7 +189,7 @@ class Admin::PCustomersController < ApplicationController
url = (Rails.env.development? ? "http://localhost:4000" : "http://3p.quartz.xyz").to_s+url
puts url
pdf = "pdfportrait"
pdf = "pdf"
command = "node #{pdf}.js #{Shellwords.escape(url)} #{Shellwords.escape(@temp_file)}"
puts command
system(command)