summary refs log tree commit diff
path: root/webclient/room/room-controller.js
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 09:06:21 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 09:06:21 +0200
commitf144f8cc5632153dd4c97412205c1ab74cf40b3e (patch)
tree8e5f489807998f1bb3c51f8f489d85e5e1af64b7 /webclient/room/room-controller.js
parentAdded link to user profile pages (diff)
downloadsynapse-f144f8cc5632153dd4c97412205c1ab74cf40b3e.tar.xz
Use $location.url to open the user profile page. The user page URL is then the one expected: http://127.0.0.1:8000/#/user/@Manu:localhost:8080 insteaf of
http://127.0.0.1:8000/#/user/@Manu:localhost:8080#public:localhost:8080
Diffstat (limited to 'webclient/room/room-controller.js')
-rw-r--r--webclient/room/room-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index bb9167d9df..8878c3d209 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -435,7 +435,7 @@ angular.module('RoomController', ['ngSanitize'])
 
     // Open the user profile page
     $scope.goToUserPage = function(user_id) {
-        $location.path("user/" + user_id);
+        $location.url("/user/" + user_id);
     };
 
     $scope.leaveRoom = function() {