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/"]