Open zdennis opened 10 years ago
The short answer is:
assets {
###other config
clear_ignores!
}
why ? because in file assetpack/options.rb
, there is an ignore '_*'
function call. Then when call the add_individual_routes
method, all sass partials just be ignored. So the build_get
will send a http request for the partial file, which will result at a 404 error.
All of our SCSS/SASS partial are having assets generated for them. They all are created with the following body:
We don't load these files in production so it's just unnecessary cruft that gets asked about during code reviews. It would be great if these files weren't generated.