mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 08:11:15 -05:00
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
export default Discourse.Route.extend({
|
|
|
|
model() {
|
|
return this.modelFor("group").findPosts({type: 'messages'});
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set("model", model);
|
|
this.controllerFor("group").set("showing", "messages");
|
|
}
|
|
});
|