class Sprockets::Rails::Helper::AssetAliasUsed

Public Class Methods

new(actual, expected) click to toggle source
Calls superclass method
# File lib/sprockets/rails/helper.rb, line 42
def initialize(actual, expected)
  msg = "Asset was linked to from an alias rather than its exact path. " +
    "Alias resolving may not be available in production.\n" +
    "Use #{expected.inspect} instead of #{actual.inspect}"
  super(msg)
end