discourse-subscriptions/assets/javascripts/discourse/discourse-subscriptions-rou...

23 lines
497 B
Plaintext
Raw Normal View History

2019-09-13 22:56:28 -04:00
export default {
2019-09-14 02:53:07 -04:00
resource: "admin.adminPlugins",
path: "/plugins",
2019-10-21 00:28:45 -04:00
2019-09-13 22:56:28 -04:00
map() {
2020-09-16 10:53:50 -04:00
this.route("discourse-subscriptions", function () {
2019-10-08 06:59:20 -04:00
this.route("dashboard");
2019-10-20 18:47:18 -04:00
2020-09-16 10:53:50 -04:00
this.route("products", function () {
this.route("show", { path: "/:product-id" }, function () {
this.route("plans", function () {
2019-10-21 00:28:45 -04:00
this.route("show", { path: "/:plan-id" });
});
2019-10-20 18:47:18 -04:00
});
2019-10-14 18:40:49 -04:00
});
2019-10-20 18:47:18 -04:00
this.route("coupons");
2019-10-14 00:39:24 -04:00
this.route("subscriptions");
2019-09-23 01:01:03 -04:00
});
2020-09-16 10:53:50 -04:00
},
2019-09-13 22:56:28 -04:00
};