don't show coupon area for upgrades

This commit is contained in:
Henry Oswald 2015-11-17 11:41:39 +00:00
parent 471b285ad7
commit ef3613371f

View file

@ -12,6 +12,6 @@ define [
ga?('send', 'event', 'subscription-funnel', 'upgraded-free-trial', source)
url = "/user/subscription/new?planCode=#{planName}_free_trial_7_days&ssp=#{planName == 'collaborator'}"
if couponCode?
url = "#{url}&cc=#{couponCode}&scf=true"
url = "#{url}&cc=#{couponCode}"
window.open(url)
$scope.startedFreeTrial = true