diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-19 20:35:53 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-19 20:35:53 +0200 |
commit | 9aac54c4bff67adac8a8b5ef4ff5e5564fb237b1 (patch) | |
tree | 27f2a4af5781fffaea1b5751fe28e959ae7f010e /railties/lib | |
parent | e6850136d6f7055f9186d59611080a5028f4bbcb (diff) | |
download | rails-9aac54c4bff67adac8a8b5ef4ff5e5564fb237b1.tar.gz rails-9aac54c4bff67adac8a8b5ef4ff5e5564fb237b1.tar.bz2 rails-9aac54c4bff67adac8a8b5ef4ff5e5564fb237b1.zip |
Add note about the option to add other precompile targets
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index 874cc403ba..80951cf73a 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -30,6 +30,9 @@ # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" + # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) + # config.assets.precompile += %w( search.js ) + # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false |