pdfjs_viewer-rails
This gem offers different ways to integrate the PDF.js viewer into a Rails application.
- <%= link_to "Open sample.pdf using the full viewer", pdfjs.full_path(file: "/sample.pdf") %>
- <%= link_to "Open sample.pdf using the minimal viewer", pdfjs.minimal_path(file: "/sample.pdf") %>
- <%= link_to "Open sample.pdf using the pdfjs_viewer helper", helper_path %>