FIX: Non-Admins couldn't send private messages through the new user expansion

This commit is contained in:
Robin Ward 2013-11-01 15:17:38 -04:00
parent 0060050c08
commit bbf0312e72

View File

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