Skip to content

Commit

Permalink
fix logo image display
Browse files Browse the repository at this point in the history
  • Loading branch information
alepore committed Oct 22, 2015
1 parent f97bf2f commit 8fde0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/spree/admin/orders/invoice.pdf.prawn
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ repeat(:all) do
im = Rails.application.assets.find_asset(Spree::PrintInvoice::Config[:logo_path])

if im && File.exist?(im.pathname)
image im, vposition: :top, height: 40, scale: Spree::PrintInvoice::Config[:logo_scale]
image im.filename, vposition: :top, height: 40, scale: Spree::PrintInvoice::Config[:logo_scale]
end

grid([0,3], [0,4]).bounding_box do

0 comments on commit 8fde0b6

Please sign in to comment.