method

asset_prefix

rails latest stable - Class: Sprockets::Helpers::RailsHelper

Method deprecated or moved

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

asset_prefix()
private

Override to specify an alternative prefix for asset path generation. When combined with a custom asset_environment, this can be used to implement themes that can take advantage of the asset pipeline.

If you only want to change where the assets are mounted, refer to config.assets.prefix instead.