I have a bunch of images in app/assets/images/ when I render the html view the images are present as one would expect. When I render the pdf view via princely they are not present I just get something like this: Bd header70 b cc0e9cd02bd0b2ec1f31f22bbfe90be47fec42de002e9f5445603b82b492bdaa
In my controller I have this:
render :pdf => 'ConsultantsQuote',
:template => 'quotes/show_consultant',
:handlers => %w[erb],
:formats => %w[pdf],
:stylesheets => %w[application pdf],
:layout => 'pdf',
:disposition => 'inline',
:relative_paths => true
In my view:
What am I doing wrong? Thanks Paul Thompson
I have a bunch of images in app/assets/images/ when I render the html view the images are present as one would expect. When I render the pdf view via princely they are not present I just get something like this: Bd header70 b cc0e9cd02bd0b2ec1f31f22bbfe90be47fec42de002e9f5445603b82b492bdaa
In my controller I have this:
In my view:
What am I doing wrong? Thanks Paul Thompson