summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorJan-Willem van der Meer <mail@jewilmeer.nl>2014-08-12 18:10:16 +0200
committerJan-Willem van der Meer <mail@jewilmeer.nl>2014-08-12 18:10:16 +0200
commit88773498b97929d36370deef714c3ebb30f71877 (patch)
treed4a7c660a6f960e50562de5d4317f2c73585ddb7 /config/environments
parent53ead2e35c9195ae1f68bf5d7154e341636caf1b (diff)
downloadgitlab-ce-88773498b97929d36370deef714c3ebb30f71877.tar.gz
Disable debug assets
It's good for debugging javacsript, but creates massive amounts of http request by adding each javascript individually. Only turn it on while debugging js code.
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 356e26bd68c..03af7f07864 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -23,7 +23,7 @@ Gitlab::Application.configure do
config.assets.compress = false
# Expands the lines which load the assets
- config.assets.debug = true
+ # config.assets.debug = true
# For having correct urls in mails
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }