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-11 16:44:20 -04:00
return this.store.findAll("flagged-post", { filter: "active" });
}
}