Hi -

I want to enable access to a directory inside my app's public folder.
This means that when a user will navigate to http://myapp.com/files, he
will actually be accessing the root of RAILS_ROOT/public/files. This
folder will contain static files, and doesn't really need any
controller/actions - mostly to be used as a static file server (js, css)
for another app.

I'm trying to accomplish that through the routes.rb file, but so far w/o
success. Is it possible?

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

Reply via email to