how to serve pdf.js via Rails assets pipeline

时间:2015-04-24 21:35:18

标签: ruby-on-rails pdf.js

What is the right way of serving pdf.js via assets pipeline? As a quick solution I put the entire folder with all the pdf.js assets like pictures, fonts, scripts, styles, etc. into public folder, but I feel like there should be a better way.

I looked at a couple of GEMs available, but all of them seem to be outdated and contain 2-3 years old pdf.js in them.

0 个答案:

没有答案