This method is deprecated or moved on the latest stable version.
The last existing version (v2.2.1) is shown here.
rewrite_asset_path(source)
private
Break out the asset path rewrite in case plugins wish to put the asset id
someplace other than the query string.
# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 660
def rewrite_asset_path(source)
if @template.respond_to?(:rewrite_asset_path)
# DEPRECATE: This way to override rewrite_asset_path
@template.send(:rewrite_asset_path, source)
else
asset_id = rails_asset_id(source)
if asset_id.blank?
source
else
"#{source}?#{asset_id}"
end
end
end