Fix force_ssl conditional (#6201)
This commit is contained in:
parent
da809f9eec
commit
1d92b90be9
3 changed files with 10 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue