mirror of
https://github.com/flarum/framework.git
synced 2025-02-25 12:33:09 +08:00
16 lines
493 B
JavaScript
16 lines
493 B
JavaScript
import Ember from 'ember';
|
|
|
|
import AddCssClassToBodyMixin from '../../mixins/add-css-class-to-body';
|
|
|
|
export default Ember.Route.extend(AddCssClassToBodyMixin, {
|
|
|
|
// When we enter the discussions list view, we no longer want the
|
|
// discussions list to be in pane mode.
|
|
setupController: function(controller, model) {
|
|
this.controllerFor('index').set('paned', false);
|
|
this.controllerFor('index').set('paneShowing', false);
|
|
this._super(controller, model);
|
|
}
|
|
|
|
});
|