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
This commit is contained in:
Emmanuel ROHEE 2014-08-19 09:06:21 +02:00
parent c3f1548bb4
commit f144f8cc56
1 changed files with 1 additions and 1 deletions

View File

@ -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() {