Sha256: 8c5b0cb5f3e1e5906de432df4de4cd8eb7f64a20e16238cda5c916ddcede4da6

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

# WickedPDF Global Configuration
#
# Use this to set up shared configuration options for your entire application.
# Any of the configuration options shown here can also be applied to single
# models by passing arguments to the `render :pdf` call.
#
# To learn more, check out the README:
#
# https://github.com/mileszs/wicked_pdf/blob/master/README.md

WickedPdf.config = {
  # Path to the wkhtmltopdf executable: This usually isn't needed if using
  # one of the wkhtmltopdf-binary family of gems.
  # exe_path: '/usr/local/bin/wkhtmltopdf',
  #   or
  # exe_path: Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')

  # Needed for wkhtmltopdf 0.12.6+ to use many wicked_pdf asset helpers
  # enable_local_file_access: true,

  # Layout file to be used for all PDFs
  # (but can be overridden in `render :pdf` calls)
  # 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.
  #
  # use_xvfb: true,
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wicked_pdf-2.7.0 generators/wicked_pdf/templates/wicked_pdf.rb
wicked_pdf-2.6.3 generators/wicked_pdf/templates/wicked_pdf.rb
wicked_pdf-2.6.2 generators/wicked_pdf/templates/wicked_pdf.rb
wicked_pdf-2.6.0 generators/wicked_pdf/templates/wicked_pdf.rb