1
0
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:
Toby Zerner
2015-02-12 15:19:46 +10:30
parent 5229c5c06a
commit 681de4244b
3 changed files with 101 additions and 95 deletions

View File

@@ -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);
});
},