Quantcast
Channel: Pragmatic Forums | Posts by Bill Gathen
Viewing all articles
Browse latest Browse all 25

Serving pdf files? posted by Bill Gathen @ Thu, 18 Feb 2010 13:58:22 +0000

$
0
0

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.


Viewing all articles
Browse latest Browse all 25

Trending Articles