Flowdock
method

compute_asset_host

Importance_1
v2.0.0 - Show latest stable - 0 notes - 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, or the host interpolated with the numbers 0-3 if it contains %d. The number is the source hash mod 4.

Show source
Register or log in to add new notes.