discourse/app/assets/javascripts/admin/routes/admin-flags-topics-index.js...

10 lines
197 B
Plaintext
Raw Normal View History

2017-09-06 10:21:07 -04:00
export default Discourse.Route.extend({
model() {
2018-06-15 11:03:24 -04:00
return this.store.findAll("flagged-topic");
2017-09-06 10:21:07 -04:00
},
setupController(controller, model) {
2018-06-15 11:03:24 -04:00
controller.set("flaggedTopics", model);
2017-09-06 10:21:07 -04:00
}
});