discourse-subscriptions/assets/javascripts/discourse/routes/admin-plugins-discourse-sub...

15 lines
292 B
JavaScript

import Route from "@ember/routing/route";
import AdminCoupon from "discourse/plugins/discourse-subscriptions/discourse/models/admin-coupon";
export default Route.extend({
model() {
return AdminCoupon.list();
},
actions: {
reloadModel() {
this.refresh();
},
},
});