fixed AngularJS escaping '?' character in URL

This commit is contained in:
alecmerdler 2017-06-23 11:27:07 -07:00
parent 57d49a5970
commit f5c1ae0719

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);
}
});
});