I am using rails 3.2.13 with ruby 1.9.3. I have embedded google document viewer in show page with iframe.
When i click on view document button to view the pdf file, chrome directly download the file instead of displaying with viewer.
Path to pdf file is correct.
Any solution to control auto download of pdf file ?