Created
November 23, 2012 15:09
-
-
Save jlebrech/4136060 to your computer and use it in GitHub Desktop.
partials: erb, js and css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Say we had the following structure | |
App | |
-> Views | |
-> ABC | |
abc.erb | |
-> partials | |
_a.erb | |
_b.erb | |
_c.erb | |
_a.js | |
_b.js | |
_c.js | |
_a.css | |
_b.css | |
_c.css | |
the abc.erb view would tell the layout to combine the js and css partials needed for the erb partials. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment