mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 08:04:32 +08:00
e5311ab645
* DEV: Discourse.Route -> DiscourseRoute with import * ran prettier on all routes * prettiered one more file
12 lines
254 B
JavaScript
12 lines
254 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);
|
|
}
|
|
});
|