discourse-adplugin/assets/javascripts/discourse/adplugin-route-map.js.es6

11 lines
258 B
JavaScript

export default {
resource: "admin.adminPlugins",
path: "/plugins",
map() {
this.route("houseAds", { path: "/adplugin/house_ads" }, function() {
this.route("index", { path: "/" });
this.route("show", { path: "/:ad_id" });
});
}
};