discourse-subscriptions/assets/javascripts/discourse/routes/user-billing-index.js

12 lines
275 B
JavaScript
Raw Normal View History

2019-12-15 18:42:55 -05:00
import Route from "@ember/routing/route";
import { inject as service } from "@ember/service";
2019-12-15 18:42:55 -05:00
export default Route.extend({
router: service(),
2019-12-15 18:42:55 -05:00
templateName: "user/billing/index",
redirect() {
this.router.transitionTo("user.billing.subscriptions.index");
2020-09-16 10:53:50 -04:00
},
2019-12-15 18:42:55 -05:00
});