From 700fe039cc9550145869c08c398587f703e2454d Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 28 Jun 2019 11:49:45 +0200 Subject: [PATCH] suite --- app/controllers/admin/p_customers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/p_customers_controller.rb b/app/controllers/admin/p_customers_controller.rb index 67fe245..018e50a 100644 --- a/app/controllers/admin/p_customers_controller.rb +++ b/app/controllers/admin/p_customers_controller.rb @@ -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)