mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
Still show index pane when a discussion is created
This commit is contained in:
@@ -24,7 +24,7 @@ export default Ember.Controller.extend(UseComposer, Paneable, {
|
||||
|
||||
var controller = this;
|
||||
return this.saveAndDismissComposer(discussion).then(function(discussion) {
|
||||
controller.get('index').set('model', null).send('refresh');
|
||||
controller.get('index').send('refresh');
|
||||
controller.transitionToRoute('discussion', discussion);
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user