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

8 lines
184 B
JavaScript

import DiscourseRoute from "discourse/routes/discourse";
export default DiscourseRoute.extend({
model() {
return this.store.findAll("flagged-post", { filter: "old" });
},
});