discourse-subscriptions/assets/javascripts/discourse/discourse-subscriptions-route-map.js.es6
Justin DiRose f596a0f78a
FEATURE: Campaigns (#67)
Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com>

See https://github.com/discourse/discourse-subscriptions/pull/67 for the full description.
2021-06-02 13:15:03 -05:00

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");
});
},
};