Changes puts to logger.info

This commit is contained in:
Filip Bartuzi 2014-09-11 10:06:24 +02:00
parent e581b01116
commit dbe9759278
1 changed files with 2 additions and 2 deletions

View File

@ -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