mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
Merge: new branch 104525314 from more recent master, merge changes
This commit is contained in:
commit
db3e849c8a
9 changed files with 167 additions and 18 deletions
|
@ -1,5 +1,9 @@
|
|||
PDFKit.configure do |config|
|
||||
config.wkhtmltopdf = "#{Rails.root}/vendor/bin/wkhtmltopdf"
|
||||
installed = %x(which wkhtmltopdf).chomp
|
||||
if installed == "" then
|
||||
installed = "#{Rails.root}/vendor/bin/wkhtmltopdf"
|
||||
end
|
||||
config.wkhtmltopdf = installed
|
||||
config.default_options = {
|
||||
page_size: 'A4',
|
||||
quiet: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue