# File lib/compass-rails/patches/importer.rb, line 6
    def sass_options
      if CompassRails.asset_pipeline_enabled?
        @sass_options[:custom] ||= {}
        @sass_options[:custom] = {:resolver => ::Sass::Rails::Resolver.new(CompassRails.context)}
        @sass_options[:load_paths] ||= []
        unless @sass_options[:load_paths].any? {|k| k.is_a?(::Sass::Rails::Importer) }
          ::Rails.application.assets.paths.each do |path|
            next unless path.to_s =~ STYLESHEET
            Dir["#{path}/**/*"].each do |pathname|
              # args are: sprockets environment, the logical_path ex. 'stylesheets', and the full path name for the render
              context = ::CompassRails.context.new(::Rails.application.assets, File.basename(path), Pathname.new(pathname))
              @sass_options[:load_paths] << ::Sass::Rails::Importer.new(context)
            end
          end
        end
      end
      @sass_options
    end