mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-07 20:28:09 +00:00
Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com> See https://github.com/discourse/discourse-subscriptions/pull/67 for the full description.
21 lines
465 B
JavaScript
21 lines
465 B
JavaScript
export default {
|
|
resource: "admin.adminPlugins",
|
|
path: "/plugins",
|
|
|
|
map() {
|
|
this.route("discourse-subscriptions", function () {
|
|
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");
|
|
});
|
|
},
|
|
};
|