Skip to content

Instantly share code, notes, and snippets.

@jlebrech
Created November 23, 2012 15:09
Show Gist options
  • Save jlebrech/4136060 to your computer and use it in GitHub Desktop.
Save jlebrech/4136060 to your computer and use it in GitHub Desktop.
partials: erb, js and css
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