Properly compile assets

This commit is contained in:
Luke Barratt 2014-05-30 21:54:01 +01:00
parent 180ab8a408
commit 4b3fc78d49

View file

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