discourse/app/assets/javascripts/admin/addon/routes/admin-flags-topics-index.js

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

12 lines
285 B
JavaScript
Raw Normal View History

import DiscourseRoute from "discourse/routes/discourse";
export default class AdminFlagsTopicsIndexRoute extends DiscourseRoute {
2017-09-06 22:21:07 +08:00
model() {
return this.store.findAll("flagged-topic");
}
2017-09-06 22:21:07 +08:00
setupController(controller, model) {
controller.set("flaggedTopics", model);
}
}