suite
This commit is contained in:
parent
def87cf72f
commit
700fe039cc
@ -189,7 +189,7 @@ class Admin::PCustomersController < ApplicationController
|
|||||||
|
|
||||||
url = (Rails.env.development? ? "http://localhost:4000" : "http://3p.quartz.xyz").to_s+url
|
url = (Rails.env.development? ? "http://localhost:4000" : "http://3p.quartz.xyz").to_s+url
|
||||||
puts url
|
puts url
|
||||||
pdf = "pdfportrait"
|
pdf = "pdf"
|
||||||
command = "node #{pdf}.js #{Shellwords.escape(url)} #{Shellwords.escape(@temp_file)}"
|
command = "node #{pdf}.js #{Shellwords.escape(url)} #{Shellwords.escape(@temp_file)}"
|
||||||
puts command
|
puts command
|
||||||
system(command)
|
system(command)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user