aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-06-10 13:17:37 -0400
committerGitHub <noreply@github.com>2016-06-10 13:17:37 -0400
commitee7de7d912036ffa1023346e9b8d0aa693cae7b2 (patch)
treee044364c65a3e4cfc13c66d675f2f5fd93b2cdae
parent1f452f9a3d0e4429f0121f69ad6a7b7d9a1c09cb (diff)
parent7c6c00e91f62fd25b6b670b40ee4c030fd429c3d (diff)
downloadrails-ee7de7d912036ffa1023346e9b8d0aa693cae7b2.tar.gz
rails-ee7de7d912036ffa1023346e9b8d0aa693cae7b2.tar.bz2
rails-ee7de7d912036ffa1023346e9b8d0aa693cae7b2.zip
Merge pull request #25351 from kmcphillips/asset-default-config-quiet
Add config.assets.quiet = true as default for generator
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt
index 01ef3e6630..fa63e48fdf 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt
+++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt
@@ -9,3 +9,6 @@ Rails.application.config.assets.version = '1.0'
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# Rails.application.config.assets.precompile += %w( search.js )
+
+# Suppress logger output for asset requests.
+Rails.application.config.assets.quiet = true