discourse-subscriptions/assets/javascripts/discourse/discourse-subscriptions-route-map.js.es6

21 lines
465 B
Plaintext
Raw Normal View History

2019-09-14 12:56:28 +10:00
export default {
2019-09-14 16:53:07 +10:00
resource: "admin.adminPlugins",
path: "/plugins",
2019-10-21 15:28:45 +11:00
2019-09-14 12:56:28 +10:00
map() {
2020-09-16 09:53:50 -05:00
this.route("discourse-subscriptions", function () {
this.route("products", function () {
this.route("show", { path: "/:product-id" }, function () {
this.route("plans", function () {
2019-10-21 15:28:45 +11:00
this.route("show", { path: "/:plan-id" });
});
2019-10-21 09:47:18 +11:00
});
2019-10-15 09:40:49 +11:00
});
2019-10-21 09:47:18 +11:00
this.route("coupons");
2019-10-14 15:39:24 +11:00
this.route("subscriptions");
2019-09-23 15:01:03 +10:00
});
2020-09-16 09:53:50 -05:00
},
2019-09-14 12:56:28 +10:00
};