summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-10-04 11:23:52 +0000
committerPhil Hughes <me@iamphill.com>2017-10-04 11:23:52 +0000
commit412571a4dfbf90d85df1393fa0075aacae27137d (patch)
tree7e6f349542472d2679fb5d8013f4c39eeb95960f /config/application.rb
parent086784411c73d61a296e923b2274f81344646a77 (diff)
downloadgitlab-ce-412571a4dfbf90d85df1393fa0075aacae27137d.tar.gz
Load only the currently needed JS locale file
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index 30117b6a98e..ca2ab83becc 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -105,6 +105,7 @@ module Gitlab
config.assets.precompile << "lib/ace.js"
config.assets.precompile << "vendor/assets/fonts/*"
config.assets.precompile << "test.css"
+ config.assets.precompile << "locale/**/app.js"
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'