made http protocol for uservoice redirect consistent
This commit is contained in:
parent
9a250d0034
commit
a8d173ff1d
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class ApplicationController < ActionController::Base
|
||||||
if request.referer == sign_in_url
|
if request.referer == sign_in_url
|
||||||
super
|
super
|
||||||
elsif params[:uv_login] == "1"
|
elsif params[:uv_login] == "1"
|
||||||
"https://support.metamaps.cc/login_success?sso=" + current_sso_token
|
"http://support.metamaps.cc/login_success?sso=" + current_sso_token
|
||||||
else
|
else
|
||||||
stored_location_for(resource) || request.referer || root_path
|
stored_location_for(resource) || request.referer || root_path
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue