Hi,

Try this :

<%= link_to "file", "http://www.mysite.com/the_file.doc"; %>

Regards,
Rob

On Jan 22, 3:43 pm, Bobnation <[email protected]> wrote:
> That's a good question, and I'll let someone else handle it as I leave
> work tonight.
>
> However, I might recommend probably starting up one thread on the
> mailing list and asking your questions in there. Will be easier to
> keep track of them if they are all in one place. Thanks!
>
> On Jan 21, 7:33 pm, Zhao Yi <[email protected]> wrote:
>
> > I want to link to a file outside rails application. It is a text file
> > stored in rails server disk. When user click this link, the file will be
> > open.
>
> > How can I do this?
>
> > thanks.
> > --
> > Posted viahttp://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]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to