Add in the news page

This commit is contained in:
rebuilt 2022-11-22 16:27:58 -08:00
parent aff7b04ed4
commit 7ba18bb171
18 changed files with 72 additions and 1 deletions

View file

@ -0,0 +1,9 @@
class InTheNewsController < ApplicationController
def index
end
def download_pdf
send_file "#{Rails.root}/public/docs/in_the_news/#{params[:path]}.pdf", type: 'application/pdf', x_sendfile: true
end
end