lib/thinreports/generator/pdf.rb in thinreports-0.7.6 vs lib/thinreports/generator/pdf.rb in thinreports-0.7.7
- old
+ new
@@ -49,10 +49,10 @@
return @pdf.add_blank_page if page.blank?
format = page.layout.format
@pdf.start_new_page(format)
- drawer(format).draw(page.manager)
+ drawer(format).draw(page)
end
def drawer(format)
@drawers[format.identifier] ||= Drawer::Page.new(@pdf, format)
end