patch
This commit is contained in:
parent
220724c31e
commit
ae035b2319
1
Gemfile
1
Gemfile
|
|
@ -29,6 +29,7 @@ gem 'jbuilder', '~> 2.5'
|
|||
gem 'kaminari'
|
||||
gem 'bootstrap4-kaminari-views'
|
||||
gem 'wicked_pdf'
|
||||
gem 'wkhtmltopdf-binary'
|
||||
gem 'friendly_id', '~> 5.4.0'
|
||||
gem 'combine_pdf'
|
||||
# Use ActiveStorage variant
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ WickedPdf.config = {
|
|||
# or
|
||||
# exe_path: Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')
|
||||
# exe_path: 'c:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe'
|
||||
exe_path: '/usr/bin/wkhtmltopdf',
|
||||
# exe_path: '/usr/bin/wkhtmltopdf',
|
||||
# Layout file to be used for all PDFs
|
||||
# (but can be overridden in `render :pdf` calls)
|
||||
layout: 'pdf.html.erb'
|
||||
|
|
|
|||
Loading…
Reference in New Issue