Ruby on Rails Tuesday, November 30, 2010

On 30 November 2010 14:42, Albert C. <lists@ruby-forum.com> wrote:
> Ok, lets begin, I'm newest, sorry because this is a low level question:
>
> If I have this, and of course I've saved before, this file in public dir
>
> <iframe src="public/6465_p_61_620_15674.pdf"></iframe>
>
> ¿Why doesn't work?

if it is in the public folder of your app then you just want
src="/6465_p_61_620_15674.pdf".

Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment