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

21 lines
462 B
JavaScript
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() {
2019-12-02 18:58:14 +11:00
this.route("discourse-subscriptions", function() {
2019-10-08 21:59:20 +11:00
this.route("dashboard");
2019-10-21 09:47:18 +11:00
2019-10-21 15:28:45 +11:00
this.route("products", function() {
this.route("show", { path: "/:product-id" }, function() {
this.route("plans", function() {
this.route("show", { path: "/:plan-id" });
});
});
});
2019-10-14 15:39:24 +11:00
this.route("subscriptions");
2019-09-23 15:01:03 +10:00
});
2019-09-14 12:56:28 +10:00
}
};