Forum: Ruby on Rails Changing default file locations

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
BB (Guest)
on 2006-06-10 08:54
I was wondering how you change where rails looks for files. i.e. how
would I have it get stylesheets from a folder named "css"?

I know I could use a standard <link rel="stylesheet" type="text/css"
href="/css/css.css" />, but that's not as cool as using the rails tag.

Similarly I'd like to know how to do this for JavaScript as well.

This topic is locked and can not be replied to.