layout option no more used
kevynlebouille opened this issue · 1 comments
kevynlebouille commented
Hi Igor,
Since your last upgrade (>= 1.2.0), the layout option seems to be inefficient.
My initializer
Wisepdf::Configuration.configure do |config|
config.wkhtmltopdf = "#{Rails.root}/script/wkhtmltopdf"
config.options = {
:layout => "pdf.html",
:show_as_html => Rails.env.development?,
}
end
igor-alexandrov commented
Thanks.
Fixed in 1.2.2.