diff options
author | elijah <elijah@riseup.net> | 2013-02-12 23:46:35 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-12 23:46:35 -0800 |
commit | ea5f89e55c7afde4bf2d6719b0afa8a878082fb5 (patch) | |
tree | b1c974ca423c52a03724f39035fa2a49775acd5c /config | |
parent | e29134d17854d88b4a81456987c28db93f5ec97c (diff) |
misc fixes to get working in production mode using Thin.
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/production.rb | 2 |
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 |