From 08adcf3e3e84610024e83fd426328f9cc3cd5646 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Wed, 18 Jan 2012 17:27:19 -0800 Subject: [PATCH] blarg. ActionDispatch::Static isnt always there. took out the option so people can run their ssl pods correctly for now --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index ac0a93e82..405c42049 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -38,7 +38,8 @@ Diaspora::Application.configure do config.serve_static_assets = false #force ssl in production - config.middleware.insert_before ActionDispatch::Static, "Rack::SSL" + config.middleware.insert_before Rack::Runtime, Rack::SSL + # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http://assets.example.com"