class Middleman::CoreExtensions::DefaultHelpers

def asset_path(kind, source, options={})

Returns:
  • (String) -

Parameters:
  • options (Hash) -- Data to pass through.
  • source (String) -- The path to the file
  • kind (Symbol) -- The type of file
def asset_path(kind, source, options={})
  options_with_resource = {}.merge!(options).merge!(current_resource: current_resource)
  ::Middleman::Util.asset_path(app, kind, source, options_with_resource)
end