Merge pull request #2723 from alecmerdler/fix-free-trial-link

Fix Free Trial Link 404
This commit is contained in:
Alec Merdler 2017-06-23 13:19:42 -07:00 committed by GitHub
commit 2cd56a06fd

View file

@ -67,9 +67,9 @@ function(KeyService, UserService, CookieService, ApiService, Features, Config, $
planService.getPlan(planId, function(plan) {
if (planService.isOrgCompatible(plan)) {
$location.path('/organizations/new/?plan=' + planId);
$location.path('/organizations/new').search('plan', planId);
} else {
$location.path('/user?plan=' + planId);
$location.path('/user').search('plan', planId);
}
});
});