mirror of https://github.com/rails/rails
Changes puts to logger.info
This commit is contained in:
parent
e581b01116
commit
dbe9759278
|
@ -735,10 +735,10 @@ Rails.application.config.assets.precompile << Proc.new do |path|
|
|||
full_path = Rails.application.assets.resolve(path).to_path
|
||||
app_assets_path = Rails.root.join('app', 'assets').to_path
|
||||
if full_path.starts_with? app_assets_path
|
||||
puts "including asset: " + full_path
|
||||
logger.info "including asset: " + full_path
|
||||
true
|
||||
else
|
||||
puts "excluding asset: " + full_path
|
||||
logger.info "excluding asset: " + full_path
|
||||
false
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue