mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:29:18 +08:00
12 lines
255 B
JavaScript
12 lines
255 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default DiscourseRoute.extend({
|
|
model() {
|
|
return this.store.findAll("flagged-topic");
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set("flaggedTopics", model);
|
|
},
|
|
});
|