mirror of
https://github.com/flarum/framework.git
synced 2025-01-07 19:13:37 +08:00
21 lines
561 B
JavaScript
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);
|
|
}
|
|
|
|
});
|