Skip to content

Commit bbf0312

Browse files
committed
FIX: Non-Admins couldn't send private messages through the new user expansion
1 parent 0060050 commit bbf0312

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/assets/javascripts/discourse/routes/topic_route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Discourse.TopicRoute = Discourse.Route.extend({
1919

2020
composePrivateMessage: function(user) {
2121
var self = this;
22-
this.transitionTo('userPrivateMessages', user).then(function () {
22+
this.transitionTo('userActivity', user).then(function () {
2323
self.controllerFor('userActivity').send('composePrivateMessage');
2424
});
2525
},

0 commit comments

Comments
 (0)