Removes pre-compilation expression to match all files

This commit is contained in:
Thomas Buchöster
2013-01-12 00:15:04 +01:00
parent 9f8b009b92
commit 8ba47ea5c7
-13
View File
@@ -51,19 +51,6 @@ module Nineminutes
config.assets.initialize_on_precompile = false
# precompile all assets that don't start with an underscore '_'
# so we don't have to list all of them here. This is similar to
# the view layer where files with '_' are partials which are only
# included in other files.
# idea taken from: https://github.com/rails/rails/issues/3094
config.assets.precompile = [ /
^ # Start of path
((.*?)\/)? # Any directories
(?!_) # Leading underscore
[^\/]* # Everything else
$ # End of path
/x ]
# Defaults to '/assets'
# config.assets.prefix = '/asset-files'
end