From 8ba47ea5c7b8ec56df5cf56fb54cb5128ac895dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Bucho=CC=88ster?= Date: Sat, 12 Jan 2013 00:15:04 +0100 Subject: [PATCH] Removes pre-compilation expression to match all files --- config/application.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/config/application.rb b/config/application.rb index 97e2da3..f27fc53 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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