redirect and rm activity connector
This commit is contained in:
parent
55f4592033
commit
b79eed42ef
|
@ -94,8 +94,8 @@ export default Ember.Controller.extend({
|
||||||
this.alert(`${type}.success`);
|
this.alert(`${type}.success`);
|
||||||
|
|
||||||
const success_route = this.planTypeIsSelected
|
const success_route = this.planTypeIsSelected
|
||||||
? "user.subscriptions"
|
? "user.billing.subscriptions"
|
||||||
: "userActivity.payments";
|
: "user.billing.payments";
|
||||||
|
|
||||||
this.transitionToRoute(
|
this.transitionToRoute(
|
||||||
success_route,
|
success_route,
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{{#link-to 'userActivity.payments'}}
|
|
||||||
{{d-icon "credit-card"}} {{i18n 'discourse_subscriptions.navigation.user_activity.payments'}}
|
|
||||||
{{/link-to}}
|
|
|
@ -1,3 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
PAYMENTS
|
|
Loading…
Reference in New Issue