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

6 lines
126 B
JavaScript

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