I can't seem to find what I'm looking for but I was wondering if I have a site: www.mysite.com, what is the url for the public folder?
Shandy Nantz wrote:
I can't seem to find what I'm looking for but I was wondering if I have a site: www.mysite.com, what is the url for the public folder?
/
That depends where the webserver has the docroot pointing for the
site. Do you know this?
Blog: http://random8.zenunit.com/ Learn rails: http://sensei.zenunit.com/
Shandy,
Phlip is too concise, but right. The URL of your public folder is www.mysite.com/
So www.mysite.com/images/1.gif is the URL for the file 1.gif in the images directory of your public folder. Got it?
Nonetheless, your public folder is just for your static assets. Rails actions are handled dinamically by the appropriate controller in the app/controllers folder.
Cheers, Sazima