diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-01-07 23:19:23 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-07 15:19:23 +0100 |
commit | 1d92b90be9f494d90a6f79f53be9cca68562867e (patch) | |
tree | a4a76a9b01d122d1ffeef2e462f742f2e353fe63 /app | |
parent | da809f9eec45cdac0fa31ba89df91cd4ce4a5398 (diff) |
Fix force_ssl conditional (#6201)
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index dae1804c2..e1aae0b67 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -30,7 +30,7 @@ class ApplicationController < ActionController::Base private def https_enabled? - Rails.env.production? && ENV['LOCAL_HTTPS'] == 'true' + Rails.env.production? end def store_current_location |