1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #9341 from senny/move_precompiled_asset_config_to_application

move config.assets.precompile into config/application.rb
This commit is contained in:
Rafael Mendonça França 2013-02-20 08:18:08 -08:00
commit b85f63bbd0
3 changed files with 10 additions and 6 deletions

View file

@ -3,6 +3,12 @@
*Terence Lee*
* The configuration option `config.assets.precompile` is no longer
in `config/environments/production.rb` but in
`config/application.rb`.
*Yves Senn*
* Add notice message for destroy action in scaffold generator.
*Rahul P. Chaudhari*

View file

@ -31,6 +31,10 @@ module <%= app_const_base %>
# Disable the asset pipeline.
config.assets.enabled = false
<% else %>
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# config.assets.precompile += %w( search.js )
<% end -%>
end
end

View file

@ -59,12 +59,6 @@
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = "http://assets.example.com"
<%- unless options.skip_sprockets? -%>
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# config.assets.precompile += %w( search.js )
<%- end -%>
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false