mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08:00
14 lines
395 B
JavaScript
14 lines
395 B
JavaScript
|
import Ember from 'ember';
|
||
|
|
||
|
export default Ember.Route.extend({
|
||
|
|
||
|
// 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);
|
||
|
}
|
||
|
|
||
|
});
|