mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-03 12:27:35 -05:00
14 lines
301 B
JavaScript
14 lines
301 B
JavaScript
export default Discourse.Route.extend({
|
|
actions: {
|
|
didTransition() { return true; }
|
|
},
|
|
|
|
model() {
|
|
return this.modelFor("group").findPosts();
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set("model", model);
|
|
this.controllerFor("group").set("showing", "posts");
|
|
}
|
|
});
|