mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 04:21:36 +00:00
Properly compile assets
This commit is contained in:
parent
180ab8a408
commit
4b3fc78d49
1 changed files with 1 additions and 1 deletions
|
@ -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/"]
|
||||
|
|
Loading…
Reference in a new issue