summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorHiroyuki Sato <h-sato@ruby-dev.jp>2016-12-21 23:37:59 +0900
committerHiroyuki Sato <h-sato@ruby-dev.jp>2016-12-22 06:03:49 +0900
commit21aefb44501041980b677822e1fce6a84f7be2fd (patch)
tree08eff4002dcfee46278c7f8ec2ff65900021942b /config/application.rb
parent796c4c07fd2f0065763c43ca1998db4426a20ee5 (diff)
downloadgitlab-ce-21aefb44501041980b677822e1fce6a84f7be2fd.tar.gz
Add KaTeX fonts to assets paths and precompile
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb2
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'