Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Wilkinson <jamie@jamiedubs.com>2010-11-28 01:22:38 +0300
committerJamie Wilkinson <jamie@jamiedubs.com>2010-11-28 01:32:57 +0300
commit0906f38f6db3b7f1b5938df70b7147ed0c752f62 (patch)
treef339fde1fa224f5ce6539542b6e29268f6ec4592 /config/environments
parent8e2c74bdd2253da2e95adc559b83a53502248b9f (diff)
Use HAML ugly mode in production
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 958f30b6f..beedc94a7 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -48,3 +48,6 @@ Diaspora::Application.configure do
config.i18n.fallbacks = true
config.threadsafe!
end
+
+# Sacrifice readability for a 10% performance boost
+Haml::Template::options[:ugly] = true