diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-19 20:33:56 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-19 20:33:56 +0200 |
commit | e6850136d6f7055f9186d59611080a5028f4bbcb (patch) | |
tree | 03d5020c7cfad1db932c249c298da7b9f24feecb /railties/lib | |
parent | 1e56c8955937f3a06b2bef3a6d132ea8faaf434c (diff) | |
download | rails-e6850136d6f7055f9186d59611080a5028f4bbcb.tar.gz rails-e6850136d6f7055f9186d59611080a5028f4bbcb.tar.bz2 rails-e6850136d6f7055f9186d59611080a5028f4bbcb.zip |
Set a default precompile target to be the application.js, application.css, and all non-css/js files (images etc)
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index e5476fbe7a..bd8c314da6 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -33,7 +33,7 @@ module Rails @assets = ActiveSupport::OrderedOptions.new @assets.enabled = false @assets.paths = [] - @assets.precompile = [] + @assets.precompile = [ /\w+\.(?!js|css)$/, "application.js", "application.css" ] @assets.prefix = "/assets" end |