15 lines
292 B
Plaintext
15 lines
292 B
Plaintext
|
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();
|
||
|
},
|
||
|
},
|
||
|
});
|