class Sprockets::Asset
def digest_path
"foo/bar-37b51d194a7513e45b56f6524f2d51f2.js"
Public: Return logical path with digest spliced in.
def digest_path logical_path.sub(/\.(\w+)$/) { |ext| "-#{etag}#{ext}" } end
def digest_path logical_path.sub(/\.(\w+)$/) { |ext| "-#{etag}#{ext}" } end