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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
218 B
JavaScript
Raw Normal View History

import DiscourseRoute from "discourse/routes/discourse";
export default class AdminFlagsPostsActiveRoute extends DiscourseRoute {
model() {
2017-09-12 04:44:20 +08:00
return this.store.findAll("flagged-post", { filter: "active" });
}
}