diff options
author | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-08-12 20:10:16 +0400 |
---|---|---|
committer | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-08-12 20:10:16 +0400 |
commit | 88773498b97929d36370deef714c3ebb30f71877 (patch) | |
tree | d4a7c660a6f960e50562de5d4317f2c73585ddb7 | |
parent | 53ead2e35c9195ae1f68bf5d7154e341636caf1b (diff) |
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.
-rw-r--r-- | config/environments/development.rb | 2 |
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 } |