def link_asset(url, link=true)
      if @sprockets_context
        # Getting the asset_path also links to the context.
        linked_url = @sprockets_context.asset_path(url)
      else
        # When compiling on the server, we don't use sprockets (atm), so the
        # context won't exist.  Typically compiling on the server is just used
        # to test, so we simply return the url.
        linked_url = url
      end

      last << url if link

      linked_url
    end
def link_asset(url, link=true)
      if @sprockets_context
        # Getting the asset_path also links to the context.
        linked_url = @sprockets_context.asset_path(url)
      else
        # When compiling on the server, we don't use sprockets (atm), so the
        # context won't exist.  Typically compiling on the server is just used
        # to test, so we simply return the url.
        linked_url = url
      end

      last << url if link

      linked_url
    end
Called from the view scope when an asset_url binding is hit.