syntax error
This commit is contained in:
parent
d96e991de3
commit
c58b2c805e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
def after_sign_in_path_for(resource)
|
def after_sign_in_path_for(resource)
|
||||||
unsafe_uri = request.env["REQUEST_URI"]
|
unsafe_uri = request.env["REQUEST_URI"]
|
||||||
if unsafe_uri.starts_with? 'http' && !unsafe_uri.starts_with? 'https'
|
if unsafe_uri.starts_with?('http') && !unsafe_uri.starts_with?('https')
|
||||||
protocol = 'http'
|
protocol = 'http'
|
||||||
else
|
else
|
||||||
protocol = 'https'
|
protocol = 'https'
|
||||||
|
|
Loading…
Reference in a new issue