Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back pdfjs_viewer-rails gem library #18958

Merged
merged 3 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ gem "parallel"
gem "paranoia", "~> 2.2"
# PDF Tools
gem "pdf-forms"
gem "pdfjs_viewer-rails", git: "https://github.com/senny/pdfjs_viewer-rails.git", ref: "a4249eacbf70175db63b57e9f364d0a9a79e2b43"
#Used to build out PDF files on the backend
#https://github.com/pdfkit/pdfkit
gem "pdfkit"
Expand Down
10 changes: 10 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ GIT
rainbow
selenium-webdriver

GIT
remote: https://github.com/senny/pdfjs_viewer-rails.git
revision: a4249eacbf70175db63b57e9f364d0a9a79e2b43
ref: a4249eacbf70175db63b57e9f364d0a9a79e2b43
specs:
pdfjs_viewer-rails (0.0.9)
rails (> 4.2.0)
sass-rails (~> 5.0)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -761,6 +770,7 @@ DEPENDENCIES
parallel
paranoia (~> 2.2)
pdf-forms
pdfjs_viewer-rails!
pdfkit
pg
pluck_to_hash
Expand Down
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@

get "tableau-login", to: "tableau_logins#login"

mount PdfjsViewer::Rails::Engine => "/pdfjs", as: 'pdfjs'

get "unauthorized" => "application#unauthorized"

get "feedback" => "application#feedback"
Expand Down