Skip to content
Browse files

Only if there are sass_options

  • Loading branch information...
1 parent e30a7d1 commit 6a617c0b812c43d1145b60ec7b86c6ad8e2da618 @chriseppstein chriseppstein committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/compass-rails.rb
View
6 lib/compass-rails.rb
@@ -190,8 +190,10 @@ def configure_rails!(app)
}.each do |compass_option, sass_option|
set_maybe sass_config, compass_config, sass_option, compass_option
end
- compass_config.sass_options.each do |config, value|
- sass_config.send("#{config}=", value)
+ if compass_config.sass_options
+ compass_config.sass_options.each do |config, value|
+ sass_config.send("#{config}=", value)
+ end
end
end

0 comments on commit 6a617c0

Please sign in to comment.
Something went wrong with that request. Please try again.