plataforma_social 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
@@ -93,7 +93,7 @@ module PlataformaSocial
|
|
93
93
|
callback_url = PlataformaSocial.facebook_callback_url.to_s
|
94
94
|
end
|
95
95
|
|
96
|
-
uri = URI.parse(
|
96
|
+
uri = URI.parse(callback_url)
|
97
97
|
|
98
98
|
callback_url = if uri && uri.scheme.present?
|
99
99
|
uri.query = [uri.query, "gm_referral_code=#{params[:gm_referral_code]}", "utm_source=#{params[:utm_source]}", "campaign=#{params[:utm_campaign]}", "medium=#{params[:utm_medium]}", "source=#{params[:utm_source]}"].compact.join('&')
|