FIX: private message button wasn't adding the recipient (cc @gdpelican)

This commit is contained in:
Régis Hanol
2014-12-03 14:55:43 +01:00
parent f9f54e2626
commit 0f0a329e7c
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ var ApplicationRoute = Discourse.Route.extend({
composePrivateMessage: function(user) {
var self = this;
this.transitionTo('userActivity', user).then(function () {
self.controllerFor('user-activity').send('composePrivateMessage');
self.controllerFor('user-activity').send('composePrivateMessage', user);
});
},