Skip to content

Commit

Permalink
Make pdf generation ignore non-certificate paths
Browse files Browse the repository at this point in the history
  • Loading branch information
steventux committed Apr 10, 2024
1 parent c8cb3df commit 532072e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/initializers/grover.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
}
config.use_jpeg_middleware = false
config.use_png_middleware = false
config.ignore_path = ->(path) do
path !~ /^\/qualifications\/certificates\/(eyts|itt|induction|mq|npq|qts)/
end
end

0 comments on commit 532072e

Please sign in to comment.