Merge pull request #523 from lloydk/master
Compass does not work with Rails 3.1 and the asset pipeline disabled
This commit is contained in:
commit
374aed6783
@ -78,6 +78,7 @@ module Compass
|
|||||||
end
|
end
|
||||||
|
|
||||||
def configure_rails!(app)
|
def configure_rails!(app)
|
||||||
|
return unless app.config.respond_to?(:sass)
|
||||||
app.config.compass.to_sass_engine_options.each do |key, value|
|
app.config.compass.to_sass_engine_options.each do |key, value|
|
||||||
app.config.sass.send(:"#{key}=", value)
|
app.config.sass.send(:"#{key}=", value)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user