This commit is contained in:
Nicolas Bally 2018-03-21 12:00:39 +01:00
parent ad048c79a6
commit ac3d3ee98c
2 changed files with 1 additions and 2 deletions

View File

@ -49,7 +49,6 @@ class Public::PlumesController < ApplicationController
disposition: 'inline', # default 'inline'
layout: false,
page_size: 'A4',
dpi: 300,
template: "public/plumes/print.html.haml" ,
margin: { top: 0, # default 10 (mm)
bottom: 0,

View File

@ -1,7 +1,7 @@
if Rails.env.production?
WickedPdf.config = {
:exe_path => "/usr/local/bin/wkhtmltopdfwrapper.sh"
:exe_path => "/usr/local/bin/wkhtmltopdf"
}
else
WickedPdf.config = {