Im using this plugin to convert a html page into a pdf
https://github.com/mileszs/wicked_pdf
It works great but if i have a file that renders lots of partials then
i need to make copies of them with a view type of .pdf.

So for show.html.erb i need to make a show.pdf.erb, that makes sense.

But if the show file has lots of partials then i need to make copies
of them which i dont need to as i wan tthem to stay the same.

So if i have a header partial i need to have both _header.html.erb and
_header.pdf.erb and so on......

Any ideas how i can avoid having to make a copy of each partial??

JB

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to