class Sprockets::Context

def resolve(path, options = {})

Returns an Asset URI String.

accept - String content accept type
options
path - String logical or absolute path

# => "file:///path/to/app/javascripts/bar.js?type=application/javascript"
resolve("./bar.js")

# => "file:///path/to/app/javascripts/foo.js?type=application/javascript"
resolve("foo.js")

restrict the search.
Relative paths will also be resolved. An accept type maybe given to
Public: Given a logical path, `resolve` will find and return an Asset URI.
def resolve(path, options = {})
  uri, deps = environment.resolve!(path, options.merge(base_path: @dirname))
  @dependencies.merge(deps)
  uri
end