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)