class Sprockets::Rails::Helper::AssetFilteredError - sprockets-rails-2.1.3 Documentation

# class Sprockets::Rails::Helper::AssetFilteredError

### Public Class Methods

new(source) click to toggle source
Calls superclass method

    # File lib/sprockets/rails/helper.rb, line 25
    def initialize(source)
      msg = "Asset filtered out and will not be served: " <<
            "add `Rails.application.config.assets.precompile += %w( #{source} )` " <<
            "to `config/initializers/assets.rb` and restart your server"
      super(msg)
    end