Gustav Paul wrote: > That shouldn't need any modification to your routes. Unless you have a > very > peculiar setup, files from your ./public/ directory are automatically > served > as static. > > RAILS_ROOT/public/files/some_file.pdf > > Should be accessible as: > > http://myapp.com/files/some_file.pdf
Gustav - you're right, I was taking a long detour instead of the direct rout (pun intended). Thanks! -- 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] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

