Skip to content

Commit

Permalink
Only if there are sass_options
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Mar 18, 2012
1 parent e30a7d1 commit 6a617c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/compass-rails.rb
Expand Up @@ -190,8 +190,10 @@ def configure_rails!(app)
}.each do |compass_option, sass_option| }.each do |compass_option, sass_option|
set_maybe sass_config, compass_config, sass_option, compass_option set_maybe sass_config, compass_config, sass_option, compass_option
end end
compass_config.sass_options.each do |config, value| if compass_config.sass_options
sass_config.send("#{config}=", value) compass_config.sass_options.each do |config, value|
sass_config.send("#{config}=", value)
end
end end
end end


Expand Down

0 comments on commit 6a617c0

Please sign in to comment.