I tried with render :file => "#{RAILS_ROOT}/public/my_pdf_file.pdf"
in the controller as well, but no dice.
Docs say specifically that layout defaults to false with render :file
, so that’s not the problem.
I tried with render :file => "#{RAILS_ROOT}/public/my_pdf_file.pdf"
in the controller as well, but no dice.
Docs say specifically that layout defaults to false with render :file
, so that’s not the problem.