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

11 lines
264 B
JavaScript

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