Sha256: 03ab4bd8f8c052696e00e0c7301091f38c00d4737c2c649e3504463aa0ee9c16

Contents?: true

Size: 853 Bytes

Versions: 6

Compression:

Stored size: 853 Bytes

Contents

# frozen_string_literal: true

require "wicked_pdf"

# frozen_string_literal: true

# 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.configure do |config|
  # Path to the wkhtmltopdf executable: This usually is not needed if using
  # one of the wkhtmltopdf-binary family of gems.
  #   or
  # config.exe_path = '/usr/local/bin/wkhtmltopdf',
  config.exe_path = Gem.bin_path("wkhtmltopdf-binary", "wkhtmltopdf")

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-forms-0.29.1 config/initializers/wicked_pdf.rb
decidim-forms-0.29.0 config/initializers/wicked_pdf.rb
decidim-forms-0.29.0.rc4 config/initializers/wicked_pdf.rb
decidim-forms-0.29.0.rc3 config/initializers/wicked_pdf.rb
decidim-forms-0.29.0.rc2 config/initializers/wicked_pdf.rb
decidim-forms-0.29.0.rc1 config/initializers/wicked_pdf.rb