discourse/app/assets/javascripts/discourse/routes/group-activity-topics.js.es6
2018-06-15 17:03:24 +02:00

12 lines
245 B
JavaScript

export default Discourse.Route.extend({
titleToken() {
return I18n.t(`groups.topics`);
},
model() {
return this.store.findFiltered("topicList", {
filter: `topics/groups/${this.modelFor("group").get("name")}`
});
}
});