discourse-subscriptions/assets/javascripts/discourse/discourse-patrons-route-map...

21 lines
456 B
JavaScript

export default {
resource: "admin.adminPlugins",
path: "/plugins",
map() {
this.route("discourse-patrons", 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("subscriptions");
});
}
};