From d8281db56dfbfff5d420fa5fb547438e53d5217d Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Fri, 30 May 2014 21:54:01 +0100 Subject: [PATCH] Properly compile assets --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 4244fc7..aaa2b35 100644 --- a/config/application.rb +++ b/config/application.rb @@ -9,7 +9,7 @@ module Ensl config.exceptions_app = self.routes # Additional assets - config.assets.precompile += Dir.glob("#{config.root}/app/assets/stylesheets/themes/*").map { |path| ["#{path}/theme.css", "#{path}/errors.css"] }.flatten + config.assets.precompile += ["themes/*/theme.css", "themes/*/errors.css"] # Custom directories with classes and modules you want to be autoloadable. config.autoload_paths += Dir["#{config.root}/app/services/**/", "#{config.root}/app/models/concerns/"]