configuration for sprite_search_path

This commit is contained in:
Scott Davis 2011-07-26 16:21:21 -04:00
parent c950d87432
commit 9966421f58
2 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@ module Compass
attributes_for_directory(:fonts), attributes_for_directory(:fonts),
attributes_for_directory(:extensions, nil), attributes_for_directory(:extensions, nil),
# Compilation options # Compilation options
:sprite_search_path,
:output_style, :output_style,
:environment, :environment,
:relative_assets, :relative_assets,

View File

@ -88,6 +88,10 @@ module Compass
def default_http_images_dir def default_http_images_dir
top_level.images_dir top_level.images_dir
end end
def default_sprite_search_path
[top_level.images_path]
end
def default_http_images_path def default_http_images_path
http_root_relative top_level.http_images_dir http_root_relative top_level.http_images_dir