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

10 lines
197 B
Plaintext
Raw Normal View History

2017-09-06 22:21:07 +08:00
export default Discourse.Route.extend({
model() {
return this.store.findAll('flagged-topic');
},
setupController(controller, model) {
controller.set('flaggedTopics', model);
}
});