discourse/app/assets/javascripts/admin/routes/admin-flags-posts-old.js
2020-03-13 17:03:08 -04:00

8 lines
183 B
JavaScript

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