mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-08 23:18:13 -07:00
Add in the news page
This commit is contained in:
parent
aff7b04ed4
commit
7ba18bb171
18 changed files with 72 additions and 1 deletions
9
app/controllers/in_the_news_controller.rb
Normal file
9
app/controllers/in_the_news_controller.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue