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

23 lines
497 B
JavaScript

export default {
resource: "admin.adminPlugins",
path: "/plugins",
map() {
this.route("discourse-subscriptions", function () {
this.route("dashboard");
this.route("products", function () {
this.route("show", { path: "/:product-id" }, function () {
this.route("plans", function () {
this.route("show", { path: "/:plan-id" });
});
});
});
this.route("coupons");
this.route("subscriptions");
});
},
};