method

compute_asset_host

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AssetUrlHelper
compute_asset_host(source = "", options = {}) public

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 call on an object responding to call (proc or otherwise).

Show source
Register or log in to add new notes.