Created
December 21, 2010 16:03
-
-
Save pollingj/750111 to your computer and use it in GitHub Desktop.
How to get SASS to load in SASS (SCSS) files from plugins (or other folders)
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
Dir[Rails.root.join("vendor/game_types/**/app/stylesheets")].each do |sass_folder| | |
Sass::Plugin.add_template_location( | |
sass_folder, | |
sass_folder + '/../../public/stylesheets' | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment