Hi, the default directory scturture for my Rails 2.3.5 project is
public/stylesheets public/javascripts
I don't like this structure, because my project is logically divided on set of smaller parts (components, each of them can be modified independently from anothers.
Also, to fully style the component, i use CSS + jQuery, so, css and javascripts must be in the same directory, because they solve one task.
I have changed the default directory structure to this:
assets/components/component1/
assets/components/component1/images/
assets/components/component1/component1.js
assets/components/component1/component1.css
assets/components/component2/
assets/components/component2/images
assets/components/component2/component2.js
assets/components/component2/component2.css
assets/components/componentN
assets/global
assets/global/images
assets/global/styles.css
assets/global/helpers.js
assets/global/ { default css-stuff goes here }
assets/global/ { default js-stuff goes here }
How can i tell to Rails, where now it should look for the default css and js stuff, to handle javascript_include_tag :defaults properly ?