Sync asset configuration with Rails 4.1.4 defaults

Ref #1705
This commit is contained in:
Dan Rice 2014-07-03 22:05:53 -04:00
parent 9a69b170fe
commit c6a8e0f498
4 changed files with 21 additions and 17 deletions

View file

@ -32,8 +32,7 @@ Rails.application.configure do
# Generate digests for assets URLs.
config.assets.digest = true
# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '1.0'
# `config.assets.precompile` has moved to config/initializers/assets.rb
# Specifies the header that your server uses for sending files.
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
@ -60,7 +59,6 @@ Rails.application.configure do
# 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 )
config.assets.precompile += %w( print.css login.css mobile.css )
# 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.