diff options
author | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-12-21 17:37:59 +0300 |
---|---|---|
committer | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-12-22 00:03:49 +0300 |
commit | 21aefb44501041980b677822e1fce6a84f7be2fd (patch) | |
tree | 08eff4002dcfee46278c7f8ec2ff65900021942b /config/application.rb | |
parent | 796c4c07fd2f0065763c43ca1998db4426a20ee5 (diff) |
Add KaTeX fonts to assets paths and precompile
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index b5d89e9bafd..d36c6d5c92e 100644 --- a/config/application.rb +++ b/config/application.rb @@ -83,6 +83,7 @@ module Gitlab # Enable the asset pipeline config.assets.enabled = true config.assets.paths << Gemojione.images_path + config.assets.paths << "vendor/assets/fonts" config.assets.precompile << "*.png" config.assets.precompile << "print.css" config.assets.precompile << "notify.css" @@ -108,6 +109,7 @@ module Gitlab config.assets.precompile << "lib/utils/*.js" config.assets.precompile << "lib/*.js" config.assets.precompile << "u2f.js" + config.assets.precompile << "vendor/assets/fonts/*" # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0' |