From b79eed42ef9f99e607ec82ab0440238fc16c4f6a Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Mon, 16 Dec 2019 10:47:59 +1100 Subject: [PATCH] redirect and rm activity connector --- assets/javascripts/discourse/controllers/s-show.js.es6 | 4 ++-- .../connectors/user-activity-bottom/payments-list.hbs | 3 --- .../discourse/templates/user-activity-payments.hbs | 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 assets/javascripts/discourse/templates/connectors/user-activity-bottom/payments-list.hbs delete mode 100644 assets/javascripts/discourse/templates/user-activity-payments.hbs diff --git a/assets/javascripts/discourse/controllers/s-show.js.es6 b/assets/javascripts/discourse/controllers/s-show.js.es6 index fb27598..4a015cb 100644 --- a/assets/javascripts/discourse/controllers/s-show.js.es6 +++ b/assets/javascripts/discourse/controllers/s-show.js.es6 @@ -94,8 +94,8 @@ export default Ember.Controller.extend({ this.alert(`${type}.success`); const success_route = this.planTypeIsSelected - ? "user.subscriptions" - : "userActivity.payments"; + ? "user.billing.subscriptions" + : "user.billing.payments"; this.transitionToRoute( success_route, diff --git a/assets/javascripts/discourse/templates/connectors/user-activity-bottom/payments-list.hbs b/assets/javascripts/discourse/templates/connectors/user-activity-bottom/payments-list.hbs deleted file mode 100644 index 692fd18..0000000 --- a/assets/javascripts/discourse/templates/connectors/user-activity-bottom/payments-list.hbs +++ /dev/null @@ -1,3 +0,0 @@ -{{#link-to 'userActivity.payments'}} - {{d-icon "credit-card"}} {{i18n 'discourse_subscriptions.navigation.user_activity.payments'}} -{{/link-to}} diff --git a/assets/javascripts/discourse/templates/user-activity-payments.hbs b/assets/javascripts/discourse/templates/user-activity-payments.hbs deleted file mode 100644 index 19063b9..0000000 --- a/assets/javascripts/discourse/templates/user-activity-payments.hbs +++ /dev/null @@ -1,3 +0,0 @@ - - -PAYMENTS