diff --git a/lib/compass/app_integration/rails/actionpack31/helpers.rb b/lib/compass/app_integration/rails/actionpack31/helpers.rb new file mode 100644 index 00000000..3fcb825f --- /dev/null +++ b/lib/compass/app_integration/rails/actionpack31/helpers.rb @@ -0,0 +1,5 @@ +module Sass::Script::Functions + def generated_image_url(path) + asset_url(path, "image") + end +end diff --git a/lib/compass/sass_extensions/functions/sprites.rb b/lib/compass/sass_extensions/functions/sprites.rb index 03542ad0..e4df7c49 100644 --- a/lib/compass/sass_extensions/functions/sprites.rb +++ b/lib/compass/sass_extensions/functions/sprites.rb @@ -145,7 +145,7 @@ module Compass::SassExtensions::Functions::Sprites Sass::Script::Functions.declare :sprite_position, [:map, :sprite, :offset_x, :offset_y] def sprite_image(*args) - raise Sass::SyntaxError, %Q(The sprite-image() function has been replaced by sprite(). See http://beta.compass-style.org/help/tutorials/spriting/ for more information.) + raise Sass::SyntaxError, %Q(The sprite-image() function has been replaced by sprite(). See http://compass-style.org/help/tutorials/spriting/ for more information.) end protected