about summary refs log tree commit diff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-01-07 23:19:23 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-01-07 15:19:23 +0100
commit1d92b90be9f494d90a6f79f53be9cca68562867e (patch)
treea4a76a9b01d122d1ffeef2e462f742f2e353fe63 /app/controllers/application_controller.rb
parentda809f9eec45cdac0fa31ba89df91cd4ce4a5398 (diff)
Fix force_ssl conditional (#6201)
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
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