From ea5f89e55c7afde4bf2d6719b0afa8a878082fb5 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 12 Feb 2013 23:46:35 -0800 Subject: misc fixes to get working in production mode using Thin. --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3