method
compute_asset_host
v2.1.0 -
Show latest stable
- Class:
ActionView::Helpers::AssetTagHelper
compute_asset_host(source)private
Pick an asset host for this source. Returns nil if no host is set, the host if no wildcard is set, the host interpolated with the numbers 0-3 if it contains %d (the number is the source hash mod 4), or the value returned from invoking the proc if it’s a proc.