summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-01-16 14:52:37 -0800
committerelijah <elijah@riseup.net>2016-01-16 14:52:37 -0800
commit30d6711c034bd5de6db831e57aeef28b304070c2 (patch)
tree50cb215b05a816b3ab46d5645b46b15bf8e292e5 /config
parentd1d30498055bf5323a48c2cc111783c70fee7568 (diff)
change the default of config.assets.debug for development env.
Diffstat (limited to 'config')
-rw-r--r--config/environments/development.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index f088ef2..3c0ff0f 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -29,8 +29,9 @@ LeapWeb::Application.configure do
# Do not compress assets
config.assets.compress = false
- # Expands the lines which load the assets
- config.assets.debug = true
+ # If set to true, each asset file is loaded separately. If you are not
+ # debugging js or css, it is much faster to set this to false.
+ config.assets.debug = false
# super hacky, but otherwise getting certificate error, and doesn't seem dangerous in development mode:
OpenSSL::SSL.send(:remove_const, "VERIFY_PEER")