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

11 lines
258 B
Plaintext
Raw Normal View History

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