From bbf0312e72781013e8790281542dc6911b0243d6 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 1 Nov 2013 15:17:38 -0400 Subject: [PATCH] FIX: Non-Admins couldn't send private messages through the new user expansion --- app/assets/javascripts/discourse/routes/topic_route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/routes/topic_route.js b/app/assets/javascripts/discourse/routes/topic_route.js index 2e15687189e..3da8d1e252c 100644 --- a/app/assets/javascripts/discourse/routes/topic_route.js +++ b/app/assets/javascripts/discourse/routes/topic_route.js @@ -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'); }); },