discourse/app/assets/javascripts/admin/routes/admin-flags-posts-old.js.es6

6 lines
127 B
JavaScript

export default Discourse.Route.extend({
model() {
return this.store.findAll('flagged-post', { filter: 'old' });
},
});