Flowdock
method

compute_public_path

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActionView::Helpers::AssetTagHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

compute_public_path(source, dir, ext = nil, include_host = true) private

Add the the extension ext if not present. Return full URLs otherwise untouched. Prefix with /dir/ if lacking a leading /. Account for relative URL roots. Rewrite the asset path for cache-busting asset ids. Include asset host, if configured, with the correct request protocol.

Show source
Register or log in to add new notes.