made http protocol for uservoice redirect consistent

This commit is contained in:
Connor Turland 2014-10-07 18:49:14 -04:00
parent 9a250d0034
commit a8d173ff1d

View file

@ -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