Fix comments for asset_cache_buster

This commit is contained in:
Mattias Pfeiffer 2011-05-04 11:43:22 +02:00
parent 2f3b757b46
commit 8661c481cf

View File

@ -73,8 +73,8 @@ module Compass
# When called with a block, defines the cache buster strategy to be used. # When called with a block, defines the cache buster strategy to be used.
# If the block returns nil or a string, then it is appended to the url as a query parameter. # If the block returns nil or a string, then it is appended to the url as a query parameter.
# In this case, the returned string must not include the starting '?'. # In this case, the returned string must not include the starting '?'.
# The block may also return a full path (i.e. /images/grid-BUSTED.png) and it # The block may also return a hash with :path and/or :query values and it
# will replace the original path and query string with the busted path returned. # will replace the original path and query string with the busted values returned.
# The block will be passed the root-relative url of the asset. # The block will be passed the root-relative url of the asset.
# If the block accepts two arguments, it will also be passed a File object # If the block accepts two arguments, it will also be passed a File object
# that points to the asset on disk -- which may or may not exist. # that points to the asset on disk -- which may or may not exist.