Add pdf resources to the resources page

This commit is contained in:
rebuilt 2022-11-22 14:44:29 -08:00
parent f2089c2eeb
commit aff7b04ed4
25 changed files with 63 additions and 9 deletions

View file

@ -5,6 +5,6 @@ class ResearchController < ApplicationController
def download_pdf
send_file "#{Rails.root}/public/docs/#{params[:path]}.pdf", type: "application/pdf", x_sendfile: true
send_file "#{Rails.root}/public/docs/research/#{params[:path]}.pdf", type: "application/pdf", x_sendfile: true
end
end