Skip to content

Commit

Permalink
Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
DAddYE committed Apr 11, 2011
1 parent 955a390 commit d4fc0bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/guides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
get :book, :provides => :pdf do
content_type :pdf
@guides = Guide.all(:order => "position")
raise PDFKit.configuration.wkhtmltopdf.inspect
html = render 'guides/book', :layout => false
html.gsub!(/href="/, "href=\"http://www.padrinorb.com")
kit = PDFKit.new(html, "footer-right" => "Page [page] of [toPage]",
Expand Down

0 comments on commit d4fc0bd

Please sign in to comment.