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

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