diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-05-12 10:57:55 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-05-12 10:57:55 -0500 |
commit | 2cf191bc768ea5f6b88ca4475a4ddd36dd91f016 (patch) | |
tree | 114762fa75413c244ca76f92e82710fdbab41daa /railties | |
parent | 244e4607f7c799610fd4be63e4516556b97d3f41 (diff) | |
download | rails-2cf191bc768ea5f6b88ca4475a4ddd36dd91f016.tar.gz rails-2cf191bc768ea5f6b88ca4475a4ddd36dd91f016.tar.bz2 rails-2cf191bc768ea5f6b88ca4475a4ddd36dd91f016.zip |
Proper fix
Diffstat (limited to 'railties')
-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 3118d0afe6..3b74de690a 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -34,7 +34,7 @@ module Rails @assets = ActiveSupport::OrderedOptions.new @assets.enabled = false @assets.paths = [] - @assets.precompile = [ /\w+\.(:?!js|css)$/, "application.js", "application.css" ] + @assets.precompile = [ /\w+\.(?!js|css).+/, "application.js", "application.css" ] @assets.prefix = "/assets" @assets.js_compressor = nil |