Just use this  command : send_file(pdf_file_path, :type => 
'application/pdf', :disposition => 'inline')

On Thursday, June 18, 2009 9:41:17 PM UTC+5:30, Dharmdip Rathod wrote:
>
> Thanks , for your reply same thing is happen here but when i click on 
> link to open pdf file browser automatically gives download window.So , i 
> can not understand how to open file in browser !
> -- 
> Posted via http://www.ruby-forum.com/.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/Uf2imMrX3_4J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to