mirror of
https://github.com/discourse/discourse.git
synced 2024-12-06 03:16:04 +08:00
12 lines
285 B
JavaScript
12 lines
285 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminFlagsTopicsIndexRoute extends DiscourseRoute {
|
|
model() {
|
|
return this.store.findAll("flagged-topic");
|
|
}
|
|
|
|
setupController(controller, model) {
|
|
controller.set("flaggedTopics", model);
|
|
}
|
|
}
|