mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
11 lines
265 B
JavaScript
11 lines
265 B
JavaScript
export default Discourse.Route.extend({
|
|
model: function() {
|
|
return this.modelFor('group').findPosts();
|
|
},
|
|
|
|
setupController: function(controller, model) {
|
|
controller.set('model', model);
|
|
this.controllerFor('group').set('showing', 'index');
|
|
}
|
|
});
|