class Sprockets::Base

def find_asset(path, options = {})

Find asset by logical path or expanded path.
def find_asset(path, options = {})
  pathname = Pathname.new(path)
  if pathname.absolute?
    build_asset(attributes_for(pathname).logical_path, pathname, options)
  else
    find_asset_in_path(pathname, options)
  end
end