We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5318f46 + 56800c8 commit dc8c8d8Copy full SHA for dc8c8d8
lib/sprockets/rails/helper.rb
@@ -24,8 +24,8 @@ def raise_runtime_errors
24
class AssetFilteredError < StandardError
25
def initialize(source)
26
msg = "Asset filtered out and will not be served: " <<
27
- "add `config.assets.precompile += %w( #{source} )` " <<
28
- "to `config/application.rb` and restart your server"
+ "add `Rails.application.config.assets.precompile += %w( #{source} )` " <<
+ "to `config/initializers/assets.rb` and restart your server"
29
super(msg)
30
end
31
0 commit comments