framework/ember/app/routes/discussions/index.js
2014-12-20 16:56:46 +10:30

21 lines
561 B
JavaScript

import Ember from 'ember';
export default Ember.Route.extend({
renderTemplate: function() {
this.render();
this.render('discussions-sidebar', {
into: 'application',
outlet: 'sidebar'
});
},
setupController: function(controller, model) {
this.controllerFor('discussions').set('paneShowing', false);
this.controllerFor('discussions').set('paned', false);
this.controllerFor('application').set('showDiscussionStream', false);
this._super(controller, model);
}
});