mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-08 23:18:13 -07:00
Add pdf resources to the resources page
This commit is contained in:
parent
f2089c2eeb
commit
aff7b04ed4
25 changed files with 63 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue