lib/wkhtmltopdf-heroku.rb in wkhtmltopdf-heroku-0.1.2 vs lib/wkhtmltopdf-heroku.rb in wkhtmltopdf-heroku-0.1.3
- old
+ new
@@ -1,5 +1,6 @@
# config/initializers/pdfkit.rb
+require 'pdfkit'
PDFKit.configure do |config|
config.wkhtmltopdf = File.expand_path "../../bin/wkhtmltopdf-linux-amd64", __FILE__
# config.default_options = {
# :page_size => 'Legal',
# :print_media_type => true