class Sprockets::Context
def link_asset(path)
easy to construct a link to it.
including it. The target asset is returned from this function making it
`link_asset` declares an external dependency on an asset without directly
def link_asset(path) if asset = @environment.load(locate(path)) @dependency_paths.merge(asset.metadata[:dependency_paths]) @links << asset.uri end asset end