Files
discourse-subscriptions/assets/javascripts/discourse/discourse-patrons-map.js
T
Rimian Perkins 78914e0511 Add new plugin files.
This gets the plugin running again without name collisions. A solid starting point
2019-09-11 13:19:07 +10:00

13 lines
250 B
JavaScript

export default function() {
const { disabled_plugins = [] } = this.site;
if (disabled_plugins.indexOf("discourse-patrons") !== -1) {
return;
}
this.route("patrons", function() {
this.route("show", { path: ":payment_id" });
});
}