Skip to content

Commit

Permalink
Update config template in wicked_pdf.rb
Browse files Browse the repository at this point in the history
remove commas so you can uncomment and it's valid
  • Loading branch information
manewitz authored Feb 27, 2024
1 parent 28e7ac2 commit 19b16c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generators/wicked_pdf/templates/wicked_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
WickedPdf.configure do |config|
# Path to the wkhtmltopdf executable: This usually isn't needed if using
# one of the wkhtmltopdf-binary family of gems.
# config.exe_path = '/usr/local/bin/wkhtmltopdf',
# config.exe_path = '/usr/local/bin/wkhtmltopdf'
# or
# config.exe_path = Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')

# Needed for wkhtmltopdf 0.12.6+ to use many wicked_pdf asset helpers
# config.enable_local_file_access = true,
# config.enable_local_file_access = true

# Layout file to be used for all PDFs
# (but can be overridden in `render :pdf` calls)
# config.layout = 'pdf.html',
# config.layout = 'pdf.html'

# Using wkhtmltopdf without an X server can be achieved by enabling the
# 'use_xvfb' flag. This will wrap all wkhtmltopdf commands around the
# 'xvfb-run' command, in order to simulate an X server.
#
# config.use_xvfb = true,
# config.use_xvfb = true
end

0 comments on commit 19b16c5

Please sign in to comment.