summary refs log tree commit diff
path: root/webclient/app.js
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-18 18:05:42 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-18 18:05:42 +0200
commitecfdf232504599d93524c48d034345560fa231f1 (patch)
treea39319d347b8b0a099fa99e30181bd2ad2201b5c /webclient/app.js
parentIn members list, on avatar mouseover, show a tooltip with the user matrix id (diff)
downloadsynapse-ecfdf232504599d93524c48d034345560fa231f1.tar.xz
Created boilerplate for user profile page
Diffstat (limited to 'webclient/app.js')
-rw-r--r--webclient/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/webclient/app.js b/webclient/app.js

index a3d1505f81..576912be46 100644 --- a/webclient/app.js +++ b/webclient/app.js
@@ -20,6 +20,7 @@ var matrixWebClient = angular.module('matrixWebClient', [ 'LoginController', 'RoomController', 'RoomsController', + 'UserController', 'matrixService', 'eventStreamService', 'eventHandlerService', @@ -47,6 +48,10 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider', templateUrl: 'rooms/rooms.html', controller: 'RoomsController' }). + when('/user/:user_matrix_id', { + templateUrl: 'user/user.html', + controller: 'UserController' + }). otherwise({ redirectTo: '/rooms' });