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