lib/html2pdf/rails/rendering.rb in html2pdf-rails-0.3.1 vs lib/html2pdf/rails/rendering.rb in html2pdf-rails-0.4.0

- old
+ new

@@ -45,10 +45,10 @@ end end def _html2pdf_make_pdf(options = {}) render_opts = options.slice(:template, :layout, :formats, :handlers) - html = render_to_string(render_opts) + html = render_to_string(**render_opts) Retryable.retryable(tries: 3, on: Html2Pdf::Rails::ServiceUnavailableError) do Client.post( html: html, put_to_storage: options[:put_to_storage],