Get rid of the annoying md5 stuff.
This commit is contained in:
parent
73d35d98de
commit
4096407a7a
@ -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)$/
|
||||||
|
Loading…
Reference in New Issue
Block a user