discourse/app/assets/javascripts/admin/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
186 B
JavaScript
Raw Normal View History

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