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() {
return this.store.findAll('flagged-topic');
},
setupController(controller, model) {
controller.set('flaggedTopics', model);
}
});