mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Configure pdfkit
gem
This commit is contained in:
parent
1374de89fe
commit
90a90f335d
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ PDFKit.configure do |config|
|
||||||
config.wkhtmltopdf = installed
|
config.wkhtmltopdf = installed
|
||||||
config.default_options = {
|
config.default_options = {
|
||||||
page_size: 'A4',
|
page_size: 'A4',
|
||||||
quiet: true
|
quiet: true,
|
||||||
|
encoding: 'utf-8',
|
||||||
# :print_media_type => true
|
# :print_media_type => true
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue