From e36b4ec5ab2c344006d8e40f58f6363557ef4948 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Thu, 23 Jan 2014 10:47:33 -0500 Subject: [PATCH] Set up SSL in production --- config/environments/production.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index a0fe204..58df622 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -78,8 +78,13 @@ Wrestling::Application.configure do # Use default logging formatter so that PID and timestamp are not suppressed. config.log_formatter = ::Logger::Formatter.new + + #THESE ADDED BY ME TO GET RAILS 4 WORKING IN HEROKU config.cache_classes = true config.serve_static_assets = true config.assets.compile = true config.assets.digest = true + + #Added by me to force SSL in production + config.force_ssl = true end