mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
Add Sass.load_paths entry to help absolute @import paths
Nice feature added in Sass 2.3 - see nex3/sass@5c93cbfe This should resolve thomas-mcdonald/bootstrap-sass#259 better than making users manually adding a load_paths entry.
This commit is contained in:
parent
c281f39bde
commit
41d9219902
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ module Bootstrap
|
|||
else
|
||||
raise Bootstrap::FrameworkNotFound, "bootstrap-sass requires either Rails > 3.1 or Compass, neither of which are loaded"
|
||||
end
|
||||
stylesheets = File.expand_path(File.join("..", 'vendor', 'assets', 'stylesheets'))
|
||||
Sass.load_paths << stylesheets
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Reference in a new issue