summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-12 23:46:35 -0800
committerelijah <elijah@riseup.net>2013-02-12 23:46:35 -0800
commitea5f89e55c7afde4bf2d6719b0afa8a878082fb5 (patch)
treeb1c974ca423c52a03724f39035fa2a49775acd5c /config
parente29134d17854d88b4a81456987c28db93f5ec97c (diff)
misc fixes to get working in production mode using Thin.
Diffstat (limited to 'config')
-rw-r--r--config/environments/production.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 49c5009..815463c 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -10,7 +10,7 @@ LeapPublicSite::Application.configure do
# Make rails server static assets if we are running Mongrel or WEBrick,
# otherwise, let apache do it.
- config.serve_static_assets = config.serve_static_assets = ( defined?(Mongrel) || defined?(WEBrick) ) ? true : false
+ config.serve_static_assets = (defined?(Mongrel) || defined?(WEBrick) || defined?(Thin)) ? true : false
# Compress JavaScripts and CSS
config.assets.compress = true