method
compute_asset_host
Ruby on Rails latest stable (v2.3.4)
-
0 notes -
Class: ActionView::Helpers::AssetTagHelper
- v1.0.0
- v1.1.0
- v1.1.1
- v1.1.2
- v1.1.3
- v1.1.4
- v1.1.5
- v1.1.6
- v1.2.0
- v1.2.1
- v1.2.2
- v1.2.3
- v1.2.4
- v1.2.5
- v1.2.6
- 2.0.0 (0)
- 2.0.1 (0)
- 2.0.2 (8)
- 2.0.3 (0)
- 2.1.0 (1)
- v2.2.1
- 2.3.2 (10)
- 2.3.4 (0)
- What's this?
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 or the value from invoking call if it’s an object responding to call.

