Get rid of the annoying md5 stuff.

This commit is contained in:
Matt Colyer 2011-08-29 22:29:24 -07:00
parent 73d35d98de
commit 4096407a7a

View File

@ -36,7 +36,7 @@ module Guard
end end
if asset = env.find_asset(logical_path) if asset = env.find_asset(logical_path)
filename = target.join(asset.digest_path) filename = target.join(asset.pathname.basename)
mkdir_p filename.dirname mkdir_p filename.dirname
asset.write_to(filename) asset.write_to(filename)
asset.write_to("#{filename}.gz") if filename.to_s =~ /\.(css|js)$/ asset.write_to("#{filename}.gz") if filename.to_s =~ /\.(css|js)$/